Skip to content

Commit

Permalink
tests: fix chai import in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastCicada committed Feb 6, 2024
1 parent 9d63256 commit db20c2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions tests/test-fixtures/project-fixtures.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import _ from 'lodash';

import supertest from 'supertest';
import chai from 'chai';
const { expect } = chai;
import { expect } from 'chai';

import app from '../../src/server';
import newProject from '../test-data/new-project.js';
Expand Down
3 changes: 1 addition & 2 deletions tests/test-fixtures/staging-fixtures.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import _ from 'lodash';

import chai from 'chai';
const { expect } = chai;
import { expect } from 'chai';
import supertest from 'supertest';

import app from '../../src/server';
Expand Down
4 changes: 1 addition & 3 deletions tests/test-fixtures/unit-fixtures.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import _ from 'lodash';

import supertest from 'supertest';
import chai from 'chai';
const { expect } = chai;

import { expect } from 'chai';
import app from '../../src/server';
import newUnit from '../test-data/new-unit.js';
import updateUnitJson from '../test-data/update-unit.js';
Expand Down

0 comments on commit db20c2f

Please sign in to comment.