From 1b42ab46058c299c5ad219d836958e97e30577dd Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Fri, 3 Mar 2023 14:50:18 +0100 Subject: wpt: unlock nightly with --no-ignore (#17998) When I was testing the code in #17892 I had updated expectations and didn't catch this. This PR fixes the the expectation file format to not be checked when --no-ignore is passed during [nightly](https://github.com/denoland/deno/actions/runs/4319520368/jobs/7538796572#step:9:46) runs. --- tools/wpt/utils.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/wpt') diff --git a/tools/wpt/utils.ts b/tools/wpt/utils.ts index 1752dab04..8aa27a664 100644 --- a/tools/wpt/utils.ts +++ b/tools/wpt/utils.ts @@ -98,6 +98,7 @@ export function getExpectFailForCase( expectation: boolean | string[], caseName: string, ): boolean { + if (noIgnore) return false; if (typeof expectation == "boolean") { return !expectation; } -- cgit v1.2.3