diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f04512..bb1798b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # changelog - * 2.6.1 _Jan.14.2023_ + * 2.6.2 _Jan.14.2023_ + * [remove reserved keywords](https://github.com/iambumblehead/esmock/pull/287) from export names lists, allows express to be mocked, thanks @lcapel + * 2.6.1 _Jan.13.2023_ * [update ci job to use checkout v4](https://github.com/iambumblehead/esmock/pull/279) * [update README to work w/ eslint-plugin-markdown](https://github.com/iambumblehead/esmock/pull/275) * [update eslint](https://github.com/iambumblehead/esmock/pull/276) disallow trailing whitespace diff --git a/tests/tests-node/esmock.node.test.js b/tests/tests-node/esmock.node.test.js index 9b78946..3992d14 100644 --- a/tests/tests-node/esmock.node.test.js +++ b/tests/tests-node/esmock.node.test.js @@ -611,7 +611,7 @@ test('mocks await import node:fs/promises (global)', async () => { // ```js // exports.static = require('serve-static'); // ``` -test('mocks express, exports disallowed reserved keyword "static"', async () => { +test('mocks express, exports disallowed keyword "static"', async () => { const calls = [] assert.ok(await esmock('../local/usesExpress.js', import.meta.url, {