From 220104f577c3c079454b902a413fae98060595ec Mon Sep 17 00:00:00 2001 From: Leo K Date: Mon, 5 Jul 2021 13:17:11 +0200 Subject: fix: spec conformance for performance API (#10887) --- cli/tests/unit/performance_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli') diff --git a/cli/tests/unit/performance_test.ts b/cli/tests/unit/performance_test.ts index 229b38bb8..156841165 100644 --- a/cli/tests/unit/performance_test.ts +++ b/cli/tests/unit/performance_test.ts @@ -82,12 +82,12 @@ unitTest(function performanceMeasure() { }); unitTest(function performanceIllegalConstructor() { - assertThrows(() => new Performance(), TypeError, "Illegal constructor."); + assertThrows(() => new Performance(), TypeError, "Illegal constructor"); assertEquals(Performance.length, 0); }); unitTest(function performanceEntryIllegalConstructor() { - assertThrows(() => new PerformanceEntry(), TypeError, "Illegal constructor."); + assertThrows(() => new PerformanceEntry(), TypeError, "Illegal constructor"); assertEquals(PerformanceEntry.length, 0); }); @@ -95,6 +95,6 @@ unitTest(function performanceMeasureIllegalConstructor() { assertThrows( () => new PerformanceMeasure(), TypeError, - "Illegal constructor.", + "Illegal constructor", ); }); -- cgit v1.2.3