diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8de5f5..5e6ca20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,4 +22,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install - - run: npm run build-release \ No newline at end of file + - run: npm run build-release + - run: npm run lint + - run: npm run test \ No newline at end of file diff --git a/spec/core/messagebroker.spec.ts b/spec/core/messagebroker.spec.ts index 8cb8a8b..8ed9988 100644 --- a/spec/core/messagebroker.spec.ts +++ b/spec/core/messagebroker.spec.ts @@ -175,7 +175,9 @@ describe('MessageBroker', () => { describe('Typing', () => { it('should return a typed push function', () => { - const messageBroker: MessageBroker = new MessageBroker(mockRSVPMediator.mock); + const messageBroker: MessageBroker = new MessageBroker( + mockRSVPMediator.mock, + ); const stringChannel = messageBroker.create('channelOne'); const numberChannel = messageBroker.create('channelTwo'); @@ -187,7 +189,9 @@ describe('MessageBroker', () => { }); it('should return a typed channel', () => { - const messageBroker: MessageBroker = new MessageBroker(mockRSVPMediator.mock); + const messageBroker: MessageBroker = new MessageBroker( + mockRSVPMediator.mock, + ); const stringChannel = messageBroker.get('channelOne'); const numberChannel = messageBroker.get('channelTwo');