Skip to content

Commit

Permalink
test: clarify expect import
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac authored and philippfromme committed Oct 10, 2024
1 parent 4482b38 commit 260738f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/mocha/fixtures/browser/errors.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect } from 'chai';
import { expect } from 'chai'; // expect can be imported explicitly

describe.only('calculate', function() { // eslint-disable-line mocha/no-exclusive-tests

Expand Down
2 changes: 1 addition & 1 deletion test/mocha/fixtures/browser/no-errors.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect } from 'chai';
import { expect } from 'chai'; // expect can be imported explicitly

describe('calculate', function() {

Expand Down
2 changes: 1 addition & 1 deletion test/mocha/fixtures/node/errors.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { expect } = require('chai');
const { expect } = require('chai'); // expect can be imported explicitly

describe.only('calculate', function() { // eslint-disable-line mocha/no-exclusive-tests

Expand Down
2 changes: 1 addition & 1 deletion test/mocha/fixtures/node/no-errors.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { expect } = require('chai');
const { expect } = require('chai'); // expect can be imported explicitly

describe('calculate', function() {

Expand Down

0 comments on commit 260738f

Please sign in to comment.