Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite errors on NodeJS v18 and v20 #26

Open
jmcdl opened this issue Oct 21, 2024 · 0 comments
Open

Test suite errors on NodeJS v18 and v20 #26

jmcdl opened this issue Oct 21, 2024 · 0 comments

Comments

@jmcdl
Copy link

jmcdl commented Oct 21, 2024

I have been looking into this package and found that when attempting to run tests on NodeJS v18 and v20, I get the below error. NodeJS v16 works as expected. I imagine this error might actually be due to some changes that are required in the Siesta testing library, rather than chronograph?

libraries/chronograph (james*) % npm run test                                                                                                                                                                                                                                                                                                            21/10/24 9:18:10

> @bryntum/[email protected] test
> npx siesta ./tests

/Users/jamesmcdonell/code/libraries/chronograph/node_modules/siesta-lite/bin/projects/default_nodejs_project.js:3
let project     = module.exports = new Siesta.Project.NodeJS()
                                              ^

TypeError: Cannot read properties of undefined (reading 'Project')
    at Object.<anonymous> (/Users/jamesmcdonell/code/libraries/chronograph/node_modules/siesta-lite/bin/projects/default_nodejs_project.js:3:47)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
    at node:internal/main/run_main_module:23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant