diff options
Diffstat (limited to 'cli/tests/unit/performance_test.ts')
-rw-r--r-- | cli/tests/unit/performance_test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/unit/performance_test.ts b/cli/tests/unit/performance_test.ts index 1df46b1b2..122938b36 100644 --- a/cli/tests/unit/performance_test.ts +++ b/cli/tests/unit/performance_test.ts @@ -83,10 +83,12 @@ unitTest(function performanceMeasure() { unitTest(function performanceIllegalConstructor() { assertThrows(() => new Performance(), TypeError, "Illegal constructor."); + assertEquals(Performance.length, 0); }); unitTest(function performanceEntryIllegalConstructor() { assertThrows(() => new PerformanceEntry(), TypeError, "Illegal constructor."); + assertEquals(PerformanceEntry.length, 0); }); unitTest(function performanceMeasureIllegalConstructor() { |