Skip to content

Commit

Permalink
fix spacing and use absolute import
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmcli committed Aug 31, 2020
1 parent b4ca645 commit 9264ec1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions waffle-jest/test/matchers/balance.test.ts
Expand Up @@ -78,7 +78,7 @@ describe('INTEGRATION: Balance observers', () => {
expect(1).toChangeBalance(sender, '-200')
).rejects.toThrowError(
'Expect subject should be a callback returning a Promise\n' +
'e.g.: await expect(() => wallet.send({to: \'0xb\', value: 200})).toChangeBalance(\'0xa\', -200)'
'e.g.: await expect(() => wallet.send({to: \'0xb\', value: 200})).toChangeBalance(\'0xa\', -200)'
);
});
});
Expand Down Expand Up @@ -165,7 +165,7 @@ describe('INTEGRATION: Balance observers', () => {
).rejects.toThrowError(
/* eslint-disable max-len */
'Expect subject should be a callback returning the Promise' +
'e.g.: await expect(() => wallet.send({to: \'0xb\', value: 200})).to.changeBalances([\'0xa\', \'0xb\'], [-200, 200])'
'e.g.: await expect(() => wallet.send({to: \'0xb\', value: 200})).to.changeBalances([\'0xa\', \'0xb\'], [-200, 200])'
/* eslint-enable max-len */
);
});
Expand Down
2 changes: 1 addition & 1 deletion waffle-jest/test/setupJest.ts
@@ -1,4 +1,4 @@
import {waffleJest} from '../src';
import {waffleJest} from '@ethereum-waffle/jest';

jest.setTimeout(10000);
expect.extend(waffleJest);

0 comments on commit 9264ec1

Please sign in to comment.