Skip to content

Commit c49b5a0

Browse files
Merge branch 'main' into 00119-jsdoc-support
2 parents d70df43 + 4b0d238 commit c49b5a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+3794
-1571
lines changed

DEV.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,10 @@ Below we describe how you can set up local environment and contribute to `solo`.
2323
* In order to run E2E test, we need to set up cluster and install the chart.
2424
* Run `./test/e2e/setup-e2e.sh`
2525
* Run `npm run test-e2e`
26+
27+
* Tests are run in random order. The random seed value is shown as message such as:
28+
`Using timestamp seed 1711414247085 for random test order`
29+
30+
* If you like to rerun tests with the same seed, use environment variable `RANDOM_SEED=<integer_number>` with `npm run test-e2e` command.
31+
* Example: `RANDOM_SEED=20 npm run test-e2e`,
32+
and you should see an output like: `Using preset seed 20 for random test order`

README.md

Lines changed: 223 additions & 163 deletions
Large diffs are not rendered by default.

jest.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ const config = {
2121
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(mjs?)$',
2222
moduleFileExtensions: ['js', 'mjs'],
2323
verbose: true,
24-
reporters: ['default', 'jest-junit']
24+
reporters: ['default', 'jest-junit'],
25+
testSequencer: './test/testSequencer.mjs'
2526
}
2627

2728
export default config

0 commit comments

Comments
 (0)