updats on the dispatch page
This commit is contained in:
9
tools/stub-css.mjs
Normal file
9
tools/stub-css.mjs
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Registers the CSS stub for the test runner.
|
||||
*
|
||||
* Loaded with `node --import`, which has to happen before any test module is
|
||||
* evaluated — a hook registered later cannot intercept an import that has
|
||||
* already been resolved.
|
||||
*/
|
||||
import { register } from 'node:module';
|
||||
register('./css-hooks.mjs', import.meta.url);
|
||||
Reference in New Issue
Block a user