update node version #2
Annotations
2 errors
|
build (20.x)
Process completed with exit code 1.
|
|
src/e2e/basic.test.ts:
src/e2e/basic.test.ts#L4
Error: Playwright Test did not expect test.beforeEach() to be called here.
Most common reasons include:
- You are calling test.beforeEach() in a configuration file.
- You are calling test.beforeEach() in a file that is imported by the configuration file.
- You have two different versions of @playwright/test. This usually happens
when one of the dependencies in your package.json depends on @playwright/test.
❯ TestTypeImpl._currentSuite node_modules/playwright/lib/common/testType.js:74:13
❯ TestTypeImpl._hook node_modules/playwright/lib/common/testType.js:159:24
❯ Function.beforeEach node_modules/playwright/lib/transform/transform.js:275:12
❯ src/e2e/basic.test.ts:4:6
|