-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exception thrown by power assert with object spread operator #797
Comments
// @twada |
Move it out of the inline assertion for now: import test from 'ava'
test('fail', t => {
const obj = {a: 1}
const obj2 = {...obj}
t.true(obj == obj2)
}) |
Thanks, btw, it does works if the file is transpiled with babel before running the test, |
@twada - Is this a power-assert issue? Can we close it and open up another issue in your repo? What would it be |
@jamestalmage @sindresorhus I'm so sorry that I overlooked this. Please file this issue to power-assert-runtime. |
I've opened the issue twada/power-assert-runtime#6 |
Description
the following test file fails to run and throws the following exception
Environment
default ava configuration
Is there a way of disabling power assert so that the test at least runs?
The text was updated successfully, but these errors were encountered: