Skip to content

Commit

Permalink
test: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
oterral committed Jan 29, 2025
1 parent a12c74c commit b13b06a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
'@typescript-eslint/no-unsafe-member-access': 'Off',
'@typescript-eslint/prefer-nullish-coalescing': 'Off',
'arrow-body-style': 0,
'mocha/no-setup-in-describe': 'Off',
'prettier/prettier': 'error',
'react/jsx-filename-extension': [
1,
Expand Down
2 changes: 2 additions & 0 deletions src/api/WebSocketAPI.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ describe('WebSocketAPI', () => {
expect(client.send).toHaveBeenCalledTimes(0);
});
});

describe('#get', () => {
test('listen to message event', async () => {
// eslint-disable-next-line no-unused-vars
Expand Down Expand Up @@ -250,6 +251,7 @@ describe('WebSocketAPI', () => {
expect(cb2).toHaveBeenCalledTimes(2);
});
});

describe('#subscribe', () => {
test('adds subscription to subscriptions array', async () => {
// eslint-disable-next-line no-unused-vars
Expand Down

0 comments on commit b13b06a

Please sign in to comment.