mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
test: move WPT to its own testing module
This is first in a hoped-for series of moves away from a monolithic common.js that is loaded for every test and towards a more modular approach. (In the end, common.js will hopefully contain checks for variables leaking into the global space and perhaps some of the more ubiquitous functions like common.mustCall().) Move the WPT testing code to its own module. PR-URL: https://github.com/nodejs/node/pull/12736 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
parent
eb535c5154
commit
ff001c12b0
22 changed files with 346 additions and 328 deletions
|
@ -243,7 +243,7 @@ try {
|
|||
}, {});
|
||||
|
||||
assert.deepStrictEqual(children, {
|
||||
'common.js': {},
|
||||
'common/index.js': {},
|
||||
'fixtures/not-main-module.js': {},
|
||||
'fixtures/a.js': {
|
||||
'fixtures/b/c.js': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue