Skip to content

Commit

Permalink
Handle "module is not defined" in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KristjanESPERANTO committed Dec 7, 2024
1 parent 63178eb commit 22109fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ _This release is scheduled to be released on 2025-01-01._

### Removed

- [tests] Removed node-pty and drivelist from rebuilded test (#3575)
- [tests] Remove `node-pty` and `drivelist` from rebuilded test (#3575)
- [deps] Remove `@eslint/js` dependency. Already installed with `eslint` in deep (#3636)

### Updated
Expand All @@ -43,7 +43,8 @@ _This release is scheduled to be released on 2025-01-01._
- [tests] Fix test cases with hard coded Date.now (#3597)
- [core] Fix missing `basePath` where `location.host` is used (#3613)
- [compliments] croner library changed filenames used in latest version (#3624)
- [linter] Fix ESLint ignore pattern which caused that default modules not to be linted. (#3632).
- [linter] Fix ESLint ignore pattern which caused that default modules not to be linted (#3632)
- [tests] Suppress "module is not defined" in e2e tests

## [2.29.0] - 2024-10-01

Expand Down
1 change: 1 addition & 0 deletions tests/e2e/helpers/mock-console.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const mockError = (err) => {
|| err.includes("ECONNRESET")
|| err.includes("socket hang up")
|| err.includes("exports is not defined")
|| err.includes("module is not defined")
|| err.includes("write EPIPE")
|| err.includes("AggregateError")
|| err.includes("ERR_SOCKET_CONNECTION_TIMEOUT")
Expand Down

0 comments on commit 22109fa

Please sign in to comment.