Skip to content

Commit

Permalink
use chai/register-expect
Browse files Browse the repository at this point in the history
  • Loading branch information
paed01 committed Jan 24, 2024
1 parent d263494 commit 75b1839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist/
node_modules/
tmp/
coverage/
4 changes: 1 addition & 3 deletions test/helpers/setup.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { expect } from 'chai';
import 'chai/register-expect.js';

process.env.TZ = 'Europe/Stockholm';
process.env.NODE_ENV = 'test';

global.expect = expect;

0 comments on commit 75b1839

Please sign in to comment.