Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rauno56 committed Jun 2, 2021
1 parent c31b6c2 commit 7d3ae55
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/context/NoopContextManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,19 @@ describe('NoopContextManager', () => {
describe('.bind()', () => {
it('should return the same target (when enabled)', () => {
const test = { a: 1 };
assert.deepStrictEqual(contextManager.bind(contextManager.active(), test), test);
assert.deepStrictEqual(
contextManager.bind(contextManager.active(), test),
test
);
});

it('should return the same target (when disabled)', () => {
contextManager.disable();
const test = { a: 1 };
assert.deepStrictEqual(contextManager.bind(contextManager.active(), test), test);
assert.deepStrictEqual(
contextManager.bind(contextManager.active(), test),
test
);
contextManager.enable();
});
});
Expand Down

0 comments on commit 7d3ae55

Please sign in to comment.