pass reject to testMethod

This commit is contained in:
kahirokunn 2020-10-03 18:11:09 +09:00
parent 4dc4cd0575
commit e5c217b45a

View File

@ -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,