Skip to content

Commit

Permalink
pass reject to testMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
kahirokunn committed Oct 3, 2020
1 parent 4dc4cd0 commit e5c217b
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -11,9 +11,10 @@ function snapshotTest({ item, asyncJest, framework, testMethod, testMethodParams
it(
name,
() =>
new Promise((done) =>
new Promise((done, reject) =>
testMethod({
done,
reject,
story: item,
context,
...testMethodParams,
Expand Down

0 comments on commit e5c217b

Please sign in to comment.