Skip to content

Commit

Permalink
use chai named imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Dec 7, 2024
1 parent e5a378f commit 9d80392
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@
*/

import { after, before, describe, it, expect as jestExpect } from 'esmocha';
import * as chai from 'chai';
const { expect } = chai;
import { use as chaiUse, expect } from 'chai';
import sinon from 'sinon';
import sinonChai from 'sinon-chai';

chai.use(sinonChai);
chaiUse(sinonChai);

import JDLObject from '../../core/models/jdl-object.js';
import { JDLEntity } from '../../core/models/index.js';
Expand Down

0 comments on commit 9d80392

Please sign in to comment.