Skip to content

Commit db56016

Browse files
committed
format
1 parent 3f30839 commit db56016

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = {
88
'src/gen',
99
'dist',
1010
'docs',
11+
'playwright-report',
1112
/*
1213
* TODO(mc, 2023-04-06): something about nested node_modules in examples
1314
* is causing eslint to choke. Investigate workspaces as a solution

src/__fixtures__/credentials.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ export const differentAccessToken: AccessToken = {
2121
type: 'access-token',
2222
payload: 'different-access-token',
2323
};
24-

src/__fixtures__/test-constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ export const TEST_URL = 'http://base.test';
22
export const TEST_HOST = 'test-host';
33
export const TEST_AUTH_ENTITY = 'test-entity';
44
export const TEST_SIGNALING_ADDRESS = 'https://signaling.test';
5-

src/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class EventDispatcher {
1717
on(type: string, listener: Callback) {
1818
const { listeners } = this;
1919
listeners[type] ??= new Set();
20-
listeners[type]?.add(listener);
20+
listeners[type].add(listener);
2121
}
2222

2323
once(type: string, listener: Callback) {

0 commit comments

Comments
 (0)