Skip to content

Commit

Permalink
fix(core): typo in log statement (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed Nov 28, 2018
1 parent 62dbb21 commit 7883fd1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions packages/core/src/__tests__/feature-service-registry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,19 +116,19 @@ describe('FeatureServiceRegistry', () => {

expect(spyConsoleInfo.mock.calls).toEqual([
[
'All required feature services has been successfully bound to the consumer "a".'
'All required feature services have been successfully bound to the consumer "a".'
],
[
'The feature service provider "a" has been successfully registered by the consumer "test".'
],
[
'All required feature services has been successfully bound to the consumer "b".'
'All required feature services have been successfully bound to the consumer "b".'
],
[
'The feature service provider "b" has been successfully registered by the consumer "test".'
],
[
'All required feature services has been successfully bound to the consumer "c".'
'All required feature services have been successfully bound to the consumer "c".'
],
[
'The feature service provider "c" has been successfully registered by the consumer "test".'
Expand Down Expand Up @@ -166,7 +166,7 @@ describe('FeatureServiceRegistry', () => {

expect(spyConsoleInfo.mock.calls).toEqual([
[
'All required feature services has been successfully bound to the consumer "a".'
'All required feature services have been successfully bound to the consumer "a".'
],
[
'The feature service provider "a" has been successfully registered by the consumer "test".'
Expand Down Expand Up @@ -332,25 +332,25 @@ describe('FeatureServiceRegistry', () => {

expect(spyConsoleInfo.mock.calls).toEqual([
[
'All required feature services has been successfully bound to the consumer "a".'
'All required feature services have been successfully bound to the consumer "a".'
],
[
'The feature service provider "a" has been successfully registered by the consumer "test".'
],
[
'All required feature services has been successfully bound to the consumer "b".'
'All required feature services have been successfully bound to the consumer "b".'
],
[
'The feature service provider "b" has been successfully registered by the consumer "test".'
],
[
'All required feature services has been successfully bound to the consumer "c".'
'All required feature services have been successfully bound to the consumer "c".'
],
[
'The feature service provider "c" has been successfully registered by the consumer "test".'
],
[
'All required feature services has been successfully bound to the consumer "foo".'
'All required feature services have been successfully bound to the consumer "foo".'
],
[
'The required feature service of the provider "b" has been successfully unbound from the consumer "foo".'
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/feature-service-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export class FeatureServiceRegistry implements FeatureServiceRegistryLike {
};

console.info(
`All required feature services has been successfully bound to the consumer ${JSON.stringify(
`All required feature services have been successfully bound to the consumer ${JSON.stringify(
uniqueConsumerId
)}.`
);
Expand Down

0 comments on commit 7883fd1

Please sign in to comment.