mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
fix tests
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
/*
|
||||
For node.js tests
|
||||
|
||||
It forces node.js to load Response (which is loaded lazily)
|
||||
|
||||
Without this, `Response` loading code would be executed in record_io.js and
|
||||
break test by calling `now()`
|
||||
*/
|
||||
globalThis.Response
|
||||
|
||||
export const run = tests => {
|
||||
// Runs test, return failure or null if not failed
|
||||
const run_test = t => {
|
||||
|
||||
Reference in New Issue
Block a user