Skip to content

Commit

Permalink
chore(test): adjust to chai 5
Browse files Browse the repository at this point in the history
  • Loading branch information
solaris007 committed Aug 20, 2024
1 parent 16774c2 commit 1d30f1b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/audits/costs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@
*/

/* eslint-env mocha */
import chai from 'chai';
import { expect, use } from 'chai';
import sinon from 'sinon';
import sinonChai from 'sinon-chai';
import chaiAsPromised from 'chai-as-promised';
import nock from 'nock';
import { MockContextBuilder } from '../shared.js';
import { runner } from '../../src/costs/handler.js';

chai.use(sinonChai);
chai.use(chaiAsPromised);
const { expect } = chai;
use(sinonChai);
use(chaiAsPromised);

const message = {
type: 'costs',
Expand Down

0 comments on commit 1d30f1b

Please sign in to comment.