Skip to content

Commit 41e71ac

Browse files
committed
fix 17
1 parent 884bcef commit 41e71ac

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,11 @@ jobs:
129129
cd tests/e2e/dist
130130
export SETUP_TEST="tests/setup.js"
131131
export TEST_FILES=$(circleci tests glob "tests/**/*.e2e.js" | circleci tests split --split-by=timings)
132-
export TEST_FILES="$SETUP_TEST\n$TEST_FILES"
133-
echo "Running tests: $TEST_FILES"
132+
# Combine setup test and other tests into an array
133+
export COMBINED_TEST_FILES=$(echo -e "$SETUP_TEST\n$TEST_FILES" | tr '\n' ' ')
134+
echo "Running tests: $COMBINED_TEST_FILES"
134135
cd ../../..
135-
.circleci/e2e/test.app.sh
136+
TEST_FILES="$COMBINED_TEST_FILES" .circleci/e2e/test.app.sh
136137
- when:
137138
condition:
138139
equal: [ true, << parameters.report >> ]

tests/e2e/.mocharc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
delay: false,
66
diff: true,
77
file: ['./tests/setup.js'],
8+
fullTrace: true,
89
package: './package.json',
910
parallel: false,
1011
recursive: false,
@@ -20,7 +21,7 @@ module.exports = {
2021
toConsole: false,
2122
},
2223
},
23-
retries: 1,
24+
retries: 3,
2425
timeout: 100_000,
2526
ui: 'bdd',
2627
}

0 commit comments

Comments
 (0)