Skip to content

Commit

Permalink
fix: test.concurrent behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph committed Aug 19, 2023
1 parent 26e3504 commit 4dd8fd2
Show file tree
Hide file tree
Showing 16 changed files with 2,923 additions and 18 deletions.
295 changes: 295 additions & 0 deletions packages/fixtures/27.x.x/env-worker-1/test-concurrent.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,295 @@
[
{
"type": "add_test_file",
"testFilePath": "__tests__/test-concurrent.js"
},
{
"type": "start_describe_definition",
"testFilePath": "__tests__/test-concurrent.js",
"describeId": "describe_0"
},
{
"type": "add_hook",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0",
"hookType": "beforeEach"
},
{
"type": "add_test",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_0"
},
{
"type": "add_test",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_1"
},
{
"type": "add_test",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_2"
},
{
"type": "add_test",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_3"
},
{
"type": "add_test",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_4"
},
{
"type": "finish_describe_definition",
"testFilePath": "__tests__/test-concurrent.js",
"describeId": "describe_0"
},
{
"type": "run_start",
"testFilePath": "__tests__/test-concurrent.js"
},
{
"type": "run_describe_start",
"testFilePath": "__tests__/test-concurrent.js",
"describeId": "describe_0"
},
{
"type": "test_start",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_0"
},
{
"type": "hook_start",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0"
},
{
"type": "hook_success",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0"
},
{
"type": "test_fn_start",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_0"
},
{
"type": "set_metadata",
"testFilePath": "__tests__/test-concurrent.js",
"targetId": "test_0.0.fn",
"path": "test.slept",
"value": 100,
"operation": "set"
},
{
"type": "set_metadata",
"testFilePath": "__tests__/test-concurrent.js",
"targetId": "test_0.0.fn",
"path": "test.slept",
"value": 100,
"operation": "set"
},
{
"type": "test_fn_success",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_0"
},
{
"type": "test_done",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_0"
},
{
"type": "test_start",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_1"
},
{
"type": "hook_start",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0"
},
{
"type": "hook_success",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0"
},
{
"type": "test_fn_start",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_1"
},
{
"type": "set_metadata",
"testFilePath": "__tests__/test-concurrent.js",
"targetId": "test_1.0.fn",
"path": "test.slept",
"value": 200,
"operation": "set"
},
{
"type": "set_metadata",
"testFilePath": "__tests__/test-concurrent.js",
"targetId": "test_1.0.fn",
"path": "test.slept",
"value": 200,
"operation": "set"
},
{
"type": "test_fn_success",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_1"
},
{
"type": "test_done",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_1"
},
{
"type": "test_start",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_2"
},
{
"type": "hook_start",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0"
},
{
"type": "hook_success",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0"
},
{
"type": "test_fn_start",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_2"
},
{
"type": "set_metadata",
"testFilePath": "__tests__/test-concurrent.js",
"targetId": "test_2.0.fn",
"path": "test.slept",
"value": 300,
"operation": "set"
},
{
"type": "set_metadata",
"testFilePath": "__tests__/test-concurrent.js",
"targetId": "test_2.0.fn",
"path": "test.slept",
"value": 300,
"operation": "set"
},
{
"type": "test_fn_success",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_2"
},
{
"type": "test_done",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_2"
},
{
"type": "test_start",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_3"
},
{
"type": "hook_start",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0"
},
{
"type": "hook_success",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0"
},
{
"type": "test_fn_start",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_3"
},
{
"type": "set_metadata",
"testFilePath": "__tests__/test-concurrent.js",
"targetId": "test_3.0.fn",
"path": "test.slept",
"value": 400,
"operation": "set"
},
{
"type": "set_metadata",
"testFilePath": "__tests__/test-concurrent.js",
"targetId": "test_3.0.fn",
"path": "test.slept",
"value": 400,
"operation": "set"
},
{
"type": "test_fn_success",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_3"
},
{
"type": "test_done",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_3"
},
{
"type": "test_start",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_4"
},
{
"type": "hook_start",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0"
},
{
"type": "hook_success",
"testFilePath": "__tests__/test-concurrent.js",
"hookId": "hook_0"
},
{
"type": "test_fn_start",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_4"
},
{
"type": "set_metadata",
"testFilePath": "__tests__/test-concurrent.js",
"targetId": "test_4.0.fn",
"path": "test.slept",
"value": 500,
"operation": "set"
},
{
"type": "set_metadata",
"testFilePath": "__tests__/test-concurrent.js",
"targetId": "test_4.0.fn",
"path": "test.slept",
"value": 500,
"operation": "set"
},
{
"type": "test_fn_success",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_4"
},
{
"type": "test_done",
"testFilePath": "__tests__/test-concurrent.js",
"testId": "test_4"
},
{
"type": "run_describe_finish",
"testFilePath": "__tests__/test-concurrent.js",
"describeId": "describe_0"
},
{
"type": "run_finish",
"testFilePath": "__tests__/test-concurrent.js"
}
]
Loading

0 comments on commit 4dd8fd2

Please sign in to comment.