You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/vitest-plugin/benches/hooks.bench.ts
+9-64Lines changed: 9 additions & 64 deletions
Original file line number
Diff line number
Diff line change
@@ -8,85 +8,30 @@ import {
8
8
expect,
9
9
}from"vitest";
10
10
11
-
letcount=-1;
12
-
13
-
beforeAll(()=>{
14
-
count+=1;
15
-
});
16
-
17
-
beforeEach(()=>{
18
-
count+=1;
19
-
});
20
-
21
-
// the count is multiplied by 2 because the bench function is called twice with codspeed (once for the optimization and once for the actual measurement)
0 commit comments