Skip to content

Commit

Permalink
feat: export afterEach and afterAll hooks (#23)
Browse files Browse the repository at this point in the history
* Expose afterEach and afterAll hooks

* Bump minor version
  • Loading branch information
nazarhussain authored Jan 17, 2025
1 parent be8f347 commit dfe1220
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/benchmark",
"version": "1.1.0",
"version": "1.2.0",
"repository": "[email protected]:chainsafe/benchmark.git",
"author": "ChainSafe Systems",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export {suite as describe, beforeEach, beforeAll} from "@vitest/runner";
export {suite as describe, beforeEach, beforeAll, afterAll, afterEach} from "@vitest/runner";
export {bench, setBenchOpts, setBenchmarkOptions} from "./benchmark/index.js";

import {bench} from "./benchmark/index.js";
Expand Down

0 comments on commit dfe1220

Please sign in to comment.