diff options
author | Leo K <crowlkats@toaxl.com> | 2021-07-05 13:17:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 13:17:11 +0200 |
commit | 220104f577c3c079454b902a413fae98060595ec (patch) | |
tree | 50a0945e0c9de598dc67b590243a16b6c8c40203 /cli/tests/unit/performance_test.ts | |
parent | a6c840d15020b72326832c19e6a5ac0d95b9bdca (diff) |
fix: spec conformance for performance API (#10887)
Diffstat (limited to 'cli/tests/unit/performance_test.ts')
-rw-r--r-- | cli/tests/unit/performance_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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", ); }); |