...resulted in this error when running npm run test:
jonathan@notebook:~/onax/v-money3$ npm run test-with-puppeteer
> v-money3@3.23.0 test-with-puppeteer
> ./node_modules/node/bin/node ./node_modules/jest/bin/jest.js --config=jest.config.js --env=puppeteer tests/env/puppeteer/
FAIL tests/env/puppeteer/e2e.test.js
● Test suite failed to run
TypeError: Cannot read properties of undefined (reading 'testEnvironmentOptions')
at new NodeEnvironment (node_modules/jest-environment-puppeteer/node_modules/jest-environment-node/build/index.js:86:49)
at new PuppeteerEnvironment (node_modules/jest-environment-puppeteer/dist/index.js:223:1)
FAIL tests/env/puppeteer/e2e.test.ts
● Test suite failed to run
TypeError: Cannot read properties of undefined (reading 'testEnvironmentOptions')
at new NodeEnvironment (node_modules/jest-environment-puppeteer/node_modules/jest-environment-node/build/index.js:86:49)
at new PuppeteerEnvironment (node_modules/jest-environment-puppeteer/dist/index.js:223:1)
Test Suites: 2 failed, 2 total
Tests: 0 total
Snapshots: 0 total
Time: 0.432 s
Ran all test suites matching /tests\/env\/puppeteer\//i.
jonathan@notebook:~/onax/v-money3$
When I google search for TypeError: Cannot read properties of undefined (reading 'testEnvironmentOptions') the best results seems not to work with my problem.
This issue is preventing future updates as it is preventing me to test the library with the latest versions of the development dependencies. It could be local or not. I will get back to this later because my free time is short at the moment, sorry. I'm opening this issue to keep reminding me of this impediment.
Updating development dependencies to these versions:
...resulted in this error when running
npm run test
:When I google search for
TypeError: Cannot read properties of undefined (reading 'testEnvironmentOptions')
the best results seems not to work with my problem.This issue is preventing future updates as it is preventing me to test the library with the latest versions of the development dependencies. It could be local or not. I will get back to this later because my free time is short at the moment, sorry. I'm opening this issue to keep reminding me of this impediment.
Feature https://github.com/jonathanpmartins/v-money3/issues/77 is currently in idle because of this problem.
If someone has a PR or a reply pointing out the problem, will be appreciated!