You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the 5.0.0 release the test don't nun anymore on windows:
(node:12860) ExperimentalWarning: VM Modules is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
FAIL test/fixtures.test.js
● PDFMerger › merge two simple files
Path contains invalid characters: \C:\Users\xxxxxxxx\pdf-merger-js\test\tmp
15 | describe('PDFMerger', () => {
16 | beforeAll(async () => {
> 17 | await fs.ensureDir(TMP_DIR)
| ^
18 | })
19 |
20 | test('merge two simple files', async () => {
at checkPath (node_modules/fs-extra/lib/mkdirs/utils.js:16:21)
at Object.<anonymous>.module.exports.makeDir (node_modules/fs-extra/lib/mkdirs/make-dir.js:12:3)
at Object.defineProperty.value (node_modules/universalify/index.js:21:45)
at Object.ensureDir (test/fixtures.test.js:17:14)
I see two problems here:
The VM Modules is an experimental feature warning comes from the --experimental-vm-modules parameter, that is needed to support ESM modules in jest, wich is still experimental: https://jestjs.io/docs/ecmascript-modules
The invalid path is propably caused by the \C:.
The text was updated successfully, but these errors were encountered:
Since the 5.0.0 release the test don't nun anymore on windows:
I see two problems here:
VM Modules is an experimental feature
warning comes from the--experimental-vm-modules
parameter, that is needed to support ESM modules in jest, wich is still experimental: https://jestjs.io/docs/ecmascript-modules\C:
.The text was updated successfully, but these errors were encountered: