forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
url: added wpt tests using git node wpt url
Added the wpt tests using git node wpt url Fixes: nodejs#47883
- Loading branch information
1 parent
7cc66e4
commit 12b462b
Showing
18 changed files
with
793 additions
and
598 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
TAP version 13 | ||
# Subtest: /Users/sshubham/Desktop/open_source/node/custom_test_dir/test1.mjs starting... | ||
# Subtest: addition starting... | ||
# Subtest: math | ||
# Subtest: addition | ||
ok 1 - addition | ||
--- | ||
duration_ms: 0.309375 | ||
... | ||
# Subtest: subtraction starting... | ||
# Subtest: subtraction | ||
not ok 2 - subtraction | ||
--- | ||
duration_ms: 0.860166 | ||
failureType: 'testCodeFailure' | ||
error: |- | ||
Expected values to be strictly deep-equal: | ||
|
||
5 !== 2 | ||
|
||
code: 'ERR_ASSERTION' | ||
name: 'AssertionError' | ||
expected: 2 | ||
actual: 5 | ||
operator: 'deepStrictEqual' | ||
stack: |- | ||
TestContext.<anonymous> (file:///Users/sshubham/Desktop/open_source/node/custom_test_dir/test1.mjs:9:7) | ||
Test.runInAsyncScope (node:async_hooks:206:9) | ||
Test.run (node:internal/test_runner/test:571:25) | ||
Suite.processPendingSubtests (node:internal/test_runner/test:315:27) | ||
Test.postRun (node:internal/test_runner/test:640:19) | ||
Test.run (node:internal/test_runner/test:599:10) | ||
async Promise.all (index 0) | ||
async Suite.run (node:internal/test_runner/test:804:7) | ||
async startSubtest (node:internal/test_runner/harness:203:3) | ||
... | ||
1..2 | ||
not ok 1 - math | ||
--- | ||
duration_ms: 2.00525 | ||
type: 'suite' | ||
failureType: 'subtestsFailed' | ||
error: '1 subtest failed' | ||
code: 'ERR_TEST_FAILURE' | ||
... | ||
# Subtest: photosynthesis starting... | ||
# Subtest: science | ||
# Subtest: photosynthesis | ||
ok 1 - photosynthesis | ||
--- | ||
duration_ms: 0.055125 | ||
... | ||
1..1 | ||
ok 2 - science | ||
--- | ||
duration_ms: 0.106167 | ||
type: 'suite' | ||
... | ||
1..2 | ||
# tests 3 | ||
# suites 2 | ||
# pass 2 | ||
# fail 1 | ||
# cancelled 0 | ||
# skipped 0 | ||
# todo 0 | ||
# duration_ms 45.467584 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
TAP version 13 | ||
# Subtest: math | ||
# Subtest: addition | ||
not ok 1 - addition | ||
--- | ||
duration_ms: 0.387 | ||
failureType: 'testCodeFailure' | ||
error: 'strictEqual is not defined' | ||
code: 'ERR_TEST_FAILURE' | ||
stack: |- | ||
TestContext.<anonymous> (file:///Users/sshubham/Desktop/open_source/node/custom_test_dir/test1.mjs:6:7) | ||
Test.runInAsyncScope (node:async_hooks:206:9) | ||
Test.run (node:internal/test_runner/test:570:25) | ||
Test.start (node:internal/test_runner/test:483:17) | ||
node:internal/test_runner/test:801:71 | ||
node:internal/per_context/primordials:482:82 | ||
new Promise (<anonymous>) | ||
new SafePromise (node:internal/per_context/primordials:450:29) | ||
node:internal/per_context/primordials:482:9 | ||
Array.map (<anonymous>) | ||
... | ||
1..1 | ||
not ok 1 - math | ||
--- | ||
duration_ms: 1.2205 | ||
type: 'suite' | ||
failureType: 'subtestsFailed' | ||
error: '1 subtest failed' | ||
code: 'ERR_TEST_FAILURE' | ||
... | ||
1..1 | ||
# tests 1 | ||
# suites 1 | ||
# pass 0 | ||
# fail 1 | ||
# cancelled 0 | ||
# skipped 0 | ||
# todo 0 | ||
# duration_ms 43.611417 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.