Skip to content

Commit

Permalink
test: add bail fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph committed Sep 29, 2023
1 parent fcf788e commit 32ba26c
Show file tree
Hide file tree
Showing 183 changed files with 2,333 additions and 598 deletions.
79 changes: 79 additions & 0 deletions packages/fixtures/27.x.x/bail-env-1/bail-short.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
[
{
"type": "add_test_file",
"testFilePath": "__bail__/bail-short.js"
},
{
"type": "setup",
"testFilePath": "__bail__/bail-short.js"
},
{
"type": "start_describe_definition",
"testFilePath": "__bail__/bail-short.js",
"describeId": "describe_0"
},
{
"type": "add_hook",
"testFilePath": "__bail__/bail-short.js",
"hookId": "hook_0",
"hookType": "beforeEach"
},
{
"type": "add_test",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "finish_describe_definition",
"testFilePath": "__bail__/bail-short.js",
"describeId": "describe_0"
},
{
"type": "run_start",
"testFilePath": "__bail__/bail-short.js"
},
{
"type": "run_describe_start",
"testFilePath": "__bail__/bail-short.js",
"describeId": "describe_0"
},
{
"type": "test_start",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "hook_start",
"testFilePath": "__bail__/bail-short.js",
"hookId": "hook_0"
},
{
"type": "hook_success",
"testFilePath": "__bail__/bail-short.js",
"hookId": "hook_0"
},
{
"type": "test_fn_start",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "test_fn_failure",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "test_done",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "run_describe_finish",
"testFilePath": "__bail__/bail-short.js",
"describeId": "describe_0"
},
{
"type": "run_finish",
"testFilePath": "__bail__/bail-short.js"
}
]
12 changes: 12 additions & 0 deletions packages/fixtures/27.x.x/bail-env-1/globalMetadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"type": "set_metadata",
"testFilePath": "",
"targetId": "globalMetadata",
"path": "vendor.tests",
"value": [
"+"
],
"operation": "push"
}
]
95 changes: 95 additions & 0 deletions packages/fixtures/27.x.x/bail-env-N/bail-long.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
[
{
"type": "add_test_file",
"testFilePath": "__bail__/bail-long.js"
},
{
"type": "setup",
"testFilePath": "__bail__/bail-long.js"
},
{
"type": "start_describe_definition",
"testFilePath": "__bail__/bail-long.js",
"describeId": "describe_0"
},
{
"type": "add_hook",
"testFilePath": "__bail__/bail-long.js",
"hookId": "hook_0",
"hookType": "beforeEach"
},
{
"type": "add_test",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_0"
},
{
"type": "add_test",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_1"
},
{
"type": "finish_describe_definition",
"testFilePath": "__bail__/bail-long.js",
"describeId": "describe_0"
},
{
"type": "run_start",
"testFilePath": "__bail__/bail-long.js"
},
{
"type": "run_describe_start",
"testFilePath": "__bail__/bail-long.js",
"describeId": "describe_0"
},
{
"type": "test_start",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_0"
},
{
"type": "hook_start",
"testFilePath": "__bail__/bail-long.js",
"hookId": "hook_0"
},
{
"type": "hook_success",
"testFilePath": "__bail__/bail-long.js",
"hookId": "hook_0"
},
{
"type": "test_fn_start",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_0"
},
{
"type": "test_fn_success",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_0"
},
{
"type": "test_done",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_0"
},
{
"type": "test_start",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_1"
},
{
"type": "hook_start",
"testFilePath": "__bail__/bail-long.js",
"hookId": "hook_0"
},
{
"type": "hook_success",
"testFilePath": "__bail__/bail-long.js",
"hookId": "hook_0"
},
{
"type": "test_fn_start",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_1"
}
]
79 changes: 79 additions & 0 deletions packages/fixtures/27.x.x/bail-env-N/bail-short.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
[
{
"type": "add_test_file",
"testFilePath": "__bail__/bail-short.js"
},
{
"type": "setup",
"testFilePath": "__bail__/bail-short.js"
},
{
"type": "start_describe_definition",
"testFilePath": "__bail__/bail-short.js",
"describeId": "describe_0"
},
{
"type": "add_hook",
"testFilePath": "__bail__/bail-short.js",
"hookId": "hook_0",
"hookType": "beforeEach"
},
{
"type": "add_test",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "finish_describe_definition",
"testFilePath": "__bail__/bail-short.js",
"describeId": "describe_0"
},
{
"type": "run_start",
"testFilePath": "__bail__/bail-short.js"
},
{
"type": "run_describe_start",
"testFilePath": "__bail__/bail-short.js",
"describeId": "describe_0"
},
{
"type": "test_start",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "hook_start",
"testFilePath": "__bail__/bail-short.js",
"hookId": "hook_0"
},
{
"type": "hook_success",
"testFilePath": "__bail__/bail-short.js",
"hookId": "hook_0"
},
{
"type": "test_fn_start",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "test_fn_failure",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "test_done",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "run_describe_finish",
"testFilePath": "__bail__/bail-short.js",
"describeId": "describe_0"
},
{
"type": "run_finish",
"testFilePath": "__bail__/bail-short.js"
}
]
22 changes: 22 additions & 0 deletions packages/fixtures/27.x.x/bail-env-N/globalMetadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"type": "set_metadata",
"testFilePath": "",
"targetId": "globalMetadata",
"path": "vendor.tests",
"value": [
"+"
],
"operation": "push"
},
{
"type": "set_metadata",
"testFilePath": "",
"targetId": "globalMetadata",
"path": "vendor.tests",
"value": [
"+"
],
"operation": "push"
}
]
26 changes: 26 additions & 0 deletions packages/fixtures/27.x.x/bail-no-env-1/bail-short.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"type": "add_test_file",
"testFilePath": "__bail__/bail-short.js"
},
{
"type": "start_describe_definition",
"testFilePath": "__bail__/bail-short.js",
"describeId": "describe_0"
},
{
"type": "add_test",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "test_start",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "test_done",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
}
]
26 changes: 26 additions & 0 deletions packages/fixtures/27.x.x/bail-no-env-N/bail-long.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"type": "add_test_file",
"testFilePath": "__bail__/bail-long.js"
},
{
"type": "start_describe_definition",
"testFilePath": "__bail__/bail-long.js",
"describeId": "describe_0"
},
{
"type": "add_test",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_0"
},
{
"type": "test_start",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_0"
},
{
"type": "test_done",
"testFilePath": "__bail__/bail-long.js",
"testId": "test_0"
}
]
26 changes: 26 additions & 0 deletions packages/fixtures/27.x.x/bail-no-env-N/bail-short.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"type": "add_test_file",
"testFilePath": "__bail__/bail-short.js"
},
{
"type": "start_describe_definition",
"testFilePath": "__bail__/bail-short.js",
"describeId": "describe_0"
},
{
"type": "add_test",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "test_start",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
},
{
"type": "test_done",
"testFilePath": "__bail__/bail-short.js",
"testId": "test_0"
}
]
Loading

0 comments on commit 32ba26c

Please sign in to comment.