Skip to content

Commit

Permalink
try another approach for chai imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Dec 7, 2024
1 parent b9010d5 commit df114ee
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 { expect, use as chaiUse } from 'chai';

Check failure on line 21 in lib/jdl/converters/jdl-to-json/jdl-without-application-to-json-converter.spec.ts

View workflow job for this annotation

GitHub Actions / check-npm-test

Member 'chaiUse' of the import declaration should be sorted alphabetically
import sinon from 'sinon';
import sinonChai from 'sinon-chai';

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

import { relationshipTypes } from '../../core/basic-types/index.js';

Expand Down

0 comments on commit df114ee

Please sign in to comment.