Skip to content

Commit 8791cab

Browse files
chore: update snapshots (#169)
Co-authored-by: MoLow <8221854+MoLow@users.noreply.github.com>
1 parent ed9531a commit 8791cab

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

packages/gh/.snapshots/cfb5c52c79bf4e0fca85f0849af3a80a/0.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Object {
1010
::debug::starting to run fails
1111
::endgroup::
1212
::group:: ✖ fails (* millisecond)
13-
::error title=fails,file=packages/gh/tests/example.js,line=9,col=11::Error: this is an error%0A at TestContext.<anonymous> (CWD/tests/example.js:9:11)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:788:18)%0A at Test.postRun (node:internal/test_runner/test:1235:19)%0A at Test.run (node:internal/test_runner/test:1163:12)%0A at async Promise.all (index 0)%0A at async Suite.run (node:internal/test_runner/test:1518:7)%0A at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)
13+
::error title=fails,file=packages/gh/tests/example.js,line=9,col=11::Error: this is an error%0A at TestContext.<anonymous> (CWD/tests/example.js:9:11)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:785:18)%0A at Test.postRun (node:internal/test_runner/test:1232:19)%0A at Test.run (node:internal/test_runner/test:1160:12)%0A at async Promise.all (index 0)%0A at async Suite.run (node:internal/test_runner/test:1515:7)%0A at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)
1414
::debug::starting to run is a diagnostic
1515
::endgroup::
1616
::group:: ✔ is a diagnostic (* millisecond)
@@ -19,7 +19,7 @@ Object {
1919
::debug::starting to run should fail
2020
::endgroup::
2121
::group:: ✖ should fail (* millisecond)
22-
::error title=should fail,file=packages/gh/tests/example.js,line=12,col=31::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:12:31)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:788:18)%0A at Test.postRun (node:internal/test_runner/test:1235:19)%0A at Test.run (node:internal/test_runner/test:1163:12)%0A at async Suite.processPendingSubtests (node:internal/test_runner/test:788:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
22+
::error title=should fail,file=packages/gh/tests/example.js,line=12,col=31::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:12:31)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:785:18)%0A at Test.postRun (node:internal/test_runner/test:1232:19)%0A at Test.run (node:internal/test_runner/test:1160:12)%0A at async Suite.processPendingSubtests (node:internal/test_runner/test:785:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
2323
::endgroup::
2424
::group::✖ tests (* millisecond)
2525
::debug::starting to run more tests
@@ -42,7 +42,7 @@ Object {
4242
::debug::starting to run is a failing todo
4343
::endgroup::
4444
::group::⚠ is a failing todo (* millisecond) # TODO
45-
::error title=is a failing todo,file=packages/gh/tests/example.js,line=22,col=36::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:22:36)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Test.processPendingSubtests (node:internal/test_runner/test:788:18)%0A at Test.postRun (node:internal/test_runner/test:1235:19)%0A at Test.run (node:internal/test_runner/test:1163:12)%0A at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
45+
::error title=is a failing todo,file=packages/gh/tests/example.js,line=22,col=36::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:22:36)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Test.processPendingSubtests (node:internal/test_runner/test:785:18)%0A at Test.postRun (node:internal/test_runner/test:1232:19)%0A at Test.run (node:internal/test_runner/test:1160:12)%0A at async Test.processPendingSubtests (node:internal/test_runner/test:785:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
4646
::debug::starting to run top level diagnostic
4747
::endgroup::
4848
::group::✔ top level diagnostic (* millisecond)

packages/gh/.snapshots/cfb5c52c79bf4e0fca85f0849af3a80a/2.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Object {
33
"stderr": "",
44
"stdout": "::debug::starting to run should fail
55
::group::✖ should fail (* millisecond)
6-
::error title=should fail,file=tests/example.mjs,line=5,col=3::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (file://CWD/tests/example.mjs:5:3)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Test.start (node:internal/test_runner/test:1003:17)%0A at startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
6+
::error title=should fail,file=tests/example.mjs,line=5,col=3::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (file://CWD/tests/example.mjs:5:3)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Test.start (node:internal/test_runner/test:1000:17)%0A at startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
77
::debug::starting to run should pass
88
::endgroup::
99
::group::✔ should pass (* millisecond)

packages/github/.snapshots/cfb5c52c79bf4e0fca85f0849af3a80a/0.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Object {
66
::debug::starting to run is ok
77
::debug::completed running is ok
88
::debug::starting to run fails
9-
::error title=fails,file=packages/github/tests/example.js,line=9,col=11::Error: this is an error%0A at TestContext.<anonymous> (CWD/tests/example.js:9:11)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:788:18)%0A at Test.postRun (node:internal/test_runner/test:1235:19)%0A at Test.run (node:internal/test_runner/test:1163:12)%0A at async Promise.all (index 0)%0A at async Suite.run (node:internal/test_runner/test:1518:7)%0A at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)
9+
::error title=fails,file=packages/github/tests/example.js,line=9,col=11::Error: this is an error%0A at TestContext.<anonymous> (CWD/tests/example.js:9:11)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:785:18)%0A at Test.postRun (node:internal/test_runner/test:1232:19)%0A at Test.run (node:internal/test_runner/test:1160:12)%0A at async Promise.all (index 0)%0A at async Suite.run (node:internal/test_runner/test:1515:7)%0A at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)
1010
::debug::starting to run is a diagnostic
1111
::debug::completed running is a diagnostic
1212
::debug::starting to run should fail
13-
::error title=should fail,file=packages/github/tests/example.js,line=12,col=31::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:12:31)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:788:18)%0A at Test.postRun (node:internal/test_runner/test:1235:19)%0A at Test.run (node:internal/test_runner/test:1163:12)%0A at async Suite.processPendingSubtests (node:internal/test_runner/test:788:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
13+
::error title=should fail,file=packages/github/tests/example.js,line=12,col=31::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:12:31)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:785:18)%0A at Test.postRun (node:internal/test_runner/test:1232:19)%0A at Test.run (node:internal/test_runner/test:1160:12)%0A at async Suite.processPendingSubtests (node:internal/test_runner/test:785:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
1414
::debug::starting to run more tests
1515
::debug::starting to run is ok
1616
::debug::completed running is ok
@@ -20,7 +20,7 @@ Object {
2020
::debug::starting to run is a todo
2121
::debug::completed running is a todo
2222
::debug::starting to run is a failing todo
23-
::error title=is a failing todo,file=packages/github/tests/example.js,line=22,col=36::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:22:36)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Test.processPendingSubtests (node:internal/test_runner/test:788:18)%0A at Test.postRun (node:internal/test_runner/test:1235:19)%0A at Test.run (node:internal/test_runner/test:1163:12)%0A at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
23+
::error title=is a failing todo,file=packages/github/tests/example.js,line=22,col=36::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:22:36)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Test.processPendingSubtests (node:internal/test_runner/test:785:18)%0A at Test.postRun (node:internal/test_runner/test:1232:19)%0A at Test.run (node:internal/test_runner/test:1160:12)%0A at async Test.processPendingSubtests (node:internal/test_runner/test:785:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
2424
::debug::starting to run top level diagnostic
2525
::debug::completed running top level diagnostic
2626
::group::Test results (4 passed, 2 failed)

packages/github/.snapshots/cfb5c52c79bf4e0fca85f0849af3a80a/2.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Object {
22
"exitCode": 1,
33
"stderr": "",
44
"stdout": "::debug::starting to run should fail
5-
::error title=should fail,file=tests/example.mjs,line=5,col=3::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (file://CWD/tests/example.mjs:5:3)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Test.start (node:internal/test_runner/test:1003:17)%0A at startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
5+
::error title=should fail,file=tests/example.mjs,line=5,col=3::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (file://CWD/tests/example.mjs:5:3)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Test.start (node:internal/test_runner/test:1000:17)%0A at startSubtestAfterBootstrap (node:internal/test_runner/harness:358:17) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
66
::debug::starting to run should pass
77
::debug::completed running should pass
88
::group::Test results (1 passed, 1 failed)

packages/github/.snapshots/cfb5c52c79bf4e0fca85f0849af3a80a/4.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Object {
66
::debug::starting to run is ok
77
::debug::completed running is ok
88
::debug::starting to run fails
9-
::error title=fails,file=packages/github/tests/example.js,line=9,col=11::Error: this is an error%0A at TestContext.<anonymous> (CWD/tests/example.js:9:11)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:788:18)%0A at Test.postRun (node:internal/test_runner/test:1235:19)%0A at Test.run (node:internal/test_runner/test:1163:12)%0A at async Promise.all (index 0)%0A at async Suite.run (node:internal/test_runner/test:1518:7)%0A at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)
9+
::error title=fails,file=packages/github/tests/example.js,line=9,col=11::Error: this is an error%0A at TestContext.<anonymous> (CWD/tests/example.js:9:11)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:785:18)%0A at Test.postRun (node:internal/test_runner/test:1232:19)%0A at Test.run (node:internal/test_runner/test:1160:12)%0A at async Promise.all (index 0)%0A at async Suite.run (node:internal/test_runner/test:1515:7)%0A at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3)
1010
::debug::starting to run is a diagnostic
1111
::debug::completed running is a diagnostic
1212
::notice file=tests/example.js,line=11,col=3::this is a diagnostic
1313
::debug::starting to run should fail
14-
::error title=should fail,file=packages/github/tests/example.js,line=12,col=31::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:12:31)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:788:18)%0A at Test.postRun (node:internal/test_runner/test:1235:19)%0A at Test.run (node:internal/test_runner/test:1163:12)%0A at async Suite.processPendingSubtests (node:internal/test_runner/test:788:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
14+
::error title=should fail,file=packages/github/tests/example.js,line=12,col=31::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:12:31)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Suite.processPendingSubtests (node:internal/test_runner/test:785:18)%0A at Test.postRun (node:internal/test_runner/test:1232:19)%0A at Test.run (node:internal/test_runner/test:1160:12)%0A at async Suite.processPendingSubtests (node:internal/test_runner/test:785:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
1515
::debug::starting to run more tests
1616
::debug::starting to run is ok
1717
::debug::completed running is ok
@@ -21,7 +21,7 @@ Object {
2121
::debug::starting to run is a todo
2222
::debug::completed running is a todo
2323
::debug::starting to run is a failing todo
24-
::error title=is a failing todo,file=packages/github/tests/example.js,line=22,col=36::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:22:36)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1106:25)%0A at Test.processPendingSubtests (node:internal/test_runner/test:788:18)%0A at Test.postRun (node:internal/test_runner/test:1235:19)%0A at Test.run (node:internal/test_runner/test:1163:12)%0A at async Test.processPendingSubtests (node:internal/test_runner/test:788:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
24+
::error title=is a failing todo,file=packages/github/tests/example.js,line=22,col=36::AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:%0A%0A assert(false)%0A%0A at TestContext.<anonymous> (CWD/tests/example.js:22:36)%0A at Test.runInAsyncScope (node:async_hooks:214:14)%0A at Test.run (node:internal/test_runner/test:1103:25)%0A at Test.processPendingSubtests (node:internal/test_runner/test:785:18)%0A at Test.postRun (node:internal/test_runner/test:1232:19)%0A at Test.run (node:internal/test_runner/test:1160:12)%0A at async Test.processPendingSubtests (node:internal/test_runner/test:785:7) {%0A generatedMessage: true,%0A code: 'ERR_ASSERTION',%0A actual: false,%0A expected: true,%0A operator: '==',%0A diff: 'simple'%0A}
2525
::debug::starting to run top level diagnostic
2626
::debug::completed running top level diagnostic
2727
::notice file=tests/example.js,line=24,col=1::top level diagnostic

0 commit comments

Comments
 (0)