Skip to content

Use strictEqual QUnit assertion instead of equal in blueprint tests#9671

Merged
rwjblue merged 1 commit intoember-cli:betafrom
bmish:strictEqual
Oct 20, 2021
Merged

Use strictEqual QUnit assertion instead of equal in blueprint tests#9671
rwjblue merged 1 commit intoember-cli:betafrom
bmish:strictEqual

Conversation

@bmish
Copy link
Member

@bmish bmish commented Oct 18, 2021

no-assert-equal is now a recommended rule in eslint-plugin-qunit v7 (#9667).

In JavaScript, we should generally use strict equality checks.

https://api.qunitjs.com/assert/strictEqual/

Targetted to beta branch so it can go in alongside the eslint-plugin-qunit v7 upgrade.

@bmish bmish changed the title Use QUnit strictEqual assertion instead of equal in blueprint tests Use strictEqual QUnit assertion instead of equal in blueprint tests Oct 18, 2021
@bmish bmish changed the base branch from master to beta October 18, 2021 21:28
@rwjblue
Copy link
Member

rwjblue commented Oct 20, 2021

We probably need to review the blueprints in ember-source and ember-data to make sure they don't emit tests with .equal also.

@bmish
Copy link
Member Author

bmish commented Oct 20, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants