From 254148a147ddfd2599fcb26e303a21b441466088 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Wed, 24 Apr 2024 10:49:36 +0200 Subject: [PATCH] js-tests.md: Refer to chai as an ES module Since 5.0, chai is distributed as an ES module, no need for the wrapper. --- docs/docs/test-runner/writing-tests/js-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/test-runner/writing-tests/js-tests.md b/docs/docs/test-runner/writing-tests/js-tests.md index 577af34c4..10e1481fd 100644 --- a/docs/docs/test-runner/writing-tests/js-tests.md +++ b/docs/docs/test-runner/writing-tests/js-tests.md @@ -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', () => {