build: add ESLint to script/lint and containerize linting (closes #152)
This commit was merged in pull request #286.
This commit is contained in:
@@ -68,7 +68,11 @@ function withTimeout(promise, name) {
|
||||
const timeout = new Promise((_, reject) => {
|
||||
timer = setTimeout(
|
||||
() =>
|
||||
reject(new Error("timed out after " + TEST_TIMEOUT_MS + "ms")),
|
||||
reject(
|
||||
new Error(
|
||||
name + ": timed out after " + TEST_TIMEOUT_MS + "ms",
|
||||
),
|
||||
),
|
||||
TEST_TIMEOUT_MS,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user