Skip to content

Commit

Permalink
js-tests.md: Refer to chai as an ES module
Browse files Browse the repository at this point in the history
Since 5.0, chai is distributed as an ES module, no need for the wrapper.
  • Loading branch information
olleolleolle committed Apr 24, 2024
1 parent 61ea55d commit 254148a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/test-runner/writing-tests/js-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Javascript files are loaded by the test framework that is configured. The defaul
For example:

```js
import { expect } from '@esm-bundle/chai';
import { expect } from 'chai';
import { myFunction } from '../src/myFunction.js';

describe('myFunction', () => {
Expand Down

0 comments on commit 254148a

Please sign in to comment.