Fixed test failure in Firefox 74

This commit is contained in:
Steve Gravrock
2020-04-11 12:08:49 -07:00
parent 30b31096b8
commit 78c3a007ad

View File

@@ -31,7 +31,7 @@ describe('PrettyPrinter (HTML Dependent)', function() {
}
// Different versions of FF produce different error messages.
expect(pp(err)).toMatch(
/Not enough arguments|CustomEvent requires at least 1 argument, but only 0 were passed/
/Not enough arguments|CustomEvent.*only 0.*passed/
);
}
});