Skip to content

Commit

Permalink
updated deps
Browse files Browse the repository at this point in the history
fixed issue with auto loading config
fixed issue with config prop inheritance
fixed issue with cli default options
tidied up some typescript
changed cli arg --config to --config-path
added describe, it, bench and rep fn aliases for suite and test
  • Loading branch information
lvl99 committed Jan 7, 2023
1 parent 3ed839e commit 8e8f6fb
Show file tree
Hide file tree
Showing 20 changed files with 122 additions and 314 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@
{
"files": ["**/*.bench.js"],
"globals": {
"describe": true,
"suite": true,
"test": true
"bench": true,
"test": true,
"it": true,
"rep": true
},
"extends": ["eslint:recommended", "prettier"]
}
Expand Down
198 changes: 0 additions & 198 deletions __benches__/objectGet.bench.js

This file was deleted.

4 changes: 4 additions & 0 deletions barbell.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
verbose: true,
reporter: "barbell-reporter-html",
};
2 changes: 1 addition & 1 deletion dist/lib/barbell.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface Suite {
errors: Error[];
tests: Tests;
results: Results;
fn: Function;
fn: () => void;
}
export interface Suites {
[key: string]: Suite;
Expand Down
82 changes: 41 additions & 41 deletions dist/lib/barbell.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8e8f6fb

Please sign in to comment.