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
Since the resetDatabase method call doesn't check the options argument, it fails to run when audit-argument-checks is enabled, with the following error:
Exception while invoking method 'xolvio:cleaner/resetDatabase' Error: Did not check() all arguments during call to 'xolvio:cleaner/resetDatabase'
A simple fix to this would be to check the options argument with: check(options, Match.Optional(Object)).
The text was updated successfully, but these errors were encountered:
Ah, turns out it's not really very useful calling resetDatabase from the client anyway, since the insertion would happen asynchronously anyway, making it unable to happen in a beforeEach. Looks like https://atmospherejs.com/hwillson/stub-collections is the way to go on the client.
Since the
resetDatabase
method call doesn't check theoptions
argument, it fails to run whenaudit-argument-checks
is enabled, with the following error:A simple fix to this would be to check the options argument with:
check(options, Match.Optional(Object))
.The text was updated successfully, but these errors were encountered: