Skip to content

Commit 17da9f3

Browse files
committed
never undefined
1 parent 763b5ec commit 17da9f3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/Suite.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@ class Suite extends EventTarget<SuiteOptions> {
168168
* Useful for truncating the array.
169169
*/
170170
set length(value) {
171-
if (undefined === this.#benchmarks) {
172-
this.#benchmarks = [];
173-
}
174-
175171
this.#benchmarks.length = value;
176172
}
177173

0 commit comments

Comments
 (0)