feat: CI测试
This commit is contained in:
parent
75b4447437
commit
97fec1e79e
2
.github/workflows/e2e_ios.yml
vendored
2
.github/workflows/e2e_ios.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
# Set up tool versions
|
# Set up tool versions
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 18
|
||||||
|
|
||||||
- name: Configure JDK 1.11
|
- name: Configure JDK 1.11
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
/** @type {import('@jest/types').Config.InitialOptions} */
|
/** @type {import('@jest/types').Config.InitialOptions} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
rootDir: '..',
|
rootDir: '..',
|
||||||
testMatch: ['<rootDir>/e2e/**/*.test.js'],
|
testMatch: ['<rootDir>/e2e/**/*.test.ts'],
|
||||||
testTimeout: 120000,
|
testTimeout: 240000,
|
||||||
maxWorkers: 1,
|
maxWorkers: 2,
|
||||||
testMatch: ['**/*.test.ts'],
|
|
||||||
transform: {
|
transform: {
|
||||||
'\\.tsx?$': 'ts-jest',
|
'\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user