-
-
Notifications
You must be signed in to change notification settings - Fork 700
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
expect().to.be() not working in Chrome #13
Comments
Chai's expect(true).to.be.true;
expect(true).to.equal(true); Your welcome to keep this thread for any other differences you find, but this is one I cannot change. |
The other difference you will likely find is expect([ 'hello', 'universe' ]).to.be.an.instanceof(Array);
expect({ hello: 'universe' }).to.be.a('object'); |
This makes sense to me, thanks for the enlightenment. I just need to convert a few existing expect.js tests to the should/chai behavior. I think I can just close this issue. |
v1.1.0 assert style of test, rm jshint, add jscs eslint, better coverage, fixes chaijs#13
v1.1.0 assert style of test, rm jshint, add jscs eslint, better coverage, fixes chaijs#13
This works with expect.js:
But with chai.js in the browser (Chrome), I get:
The text was updated successfully, but these errors were encountered: