1 | // Start our tests
|
2 | // DEV: This doesn't use `assert` to allow this to run with other runners
|
3 | describe('An invalid assertion', function () {
|
4 | it('raises an error', function () {
|
5 | // jscs:disable disallowYodaConditions
|
6 | if (1 !== 2) {
|
7 | throw new Error('1 !== 2');
|
8 | }
|
9 | // jscs:enable disallowYodaConditions
|
10 | });
|
11 | });
|