Skip to content

Commit

Permalink
resolve lint, update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Jan 14, 2024
1 parent 6fdf126 commit 9ec57fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/tests-node/esmock.node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 9ec57fd

Please sign in to comment.