mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-06 06:29:45 -06:00
fix: support type: module in Node.js 16.17.0+ and 18.6.0+ (#23637)
* chore: bump ts-node version * debugging * update tests with docker images and docker script * Update system-tests/scripts/bootstrap-docker-container.sh Co-authored-by: Zach Bloomquist <git@chary.us> * use chown * Update system-tests/scripts/bootstrap-docker-container.sh Co-authored-by: Zach Bloomquist <git@chary.us> * Update bootstrap-docker-container.sh * Update bootstrap-docker-container.sh Co-authored-by: Zach Bloomquist <git@chary.us>
This commit is contained in:
@@ -32,3 +32,20 @@ describe('binary node versions', () => {
|
||||
'cypress/base:17.3.0',
|
||||
].forEach(smokeTestDockerImage)
|
||||
})
|
||||
|
||||
describe('type: module', () => {
|
||||
[
|
||||
'cypress/base:16.17.0',
|
||||
'cypress/base:18.6.0',
|
||||
].forEach((dockerImage) => {
|
||||
systemTests.it(`can run in ${dockerImage}`, {
|
||||
withBinary: true,
|
||||
project: 'config-cjs-and-esm/config-with-ts-module',
|
||||
dockerImage,
|
||||
testingType: 'e2e',
|
||||
spec: 'app.cy.js',
|
||||
browser: 'electron',
|
||||
expectedExitCode: 0,
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user