Closed kriskowal closed 4 years ago
Individual test modules can be run in isolation.
This change refactors the async/sync loading wrapper such that it can be used as a utility instead of a scaffold for running tests.
The change also withdraws the use of the loader wrapper for the test cases that make no use of the module loader.
Most tests use a source string or a static file.
Evidently, the infrastructure for browser testing allows for synchronously reading static assets in tests.
Individual test modules can be run in isolation.
This change refactors the async/sync loading wrapper such that it can be used as a utility instead of a scaffold for running tests.
The change also withdraws the use of the loader wrapper for the test cases that make no use of the module loader.
Most tests use a source string or a static file.
Evidently, the infrastructure for browser testing allows for synchronously reading static assets in tests.