Skip to content

Commit f8c13e7

Browse files
committed
fix new-line aware assertion
1 parent 9582702 commit f8c13e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/acceptance/support-test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ module('Acceptance | support', function (hooks) {
2424
const listitem = findAll('[data-test-id="inquire-list"] li');
2525
assert.deepEqual(
2626
listitem.map(item => item.textContent.trim()),
27-
['Report a crate that violates policies'].concat(['For all other cases: [email protected]']),
27+
['Report a crate that violates policies'].concat([`For all other cases:
28+
2829
);
2930

3031
await percySnapshot(assert);
@@ -41,7 +42,8 @@ module('Acceptance | support', function (hooks) {
4142
const listitem = findAll('[data-test-id="inquire-list"] li');
4243
assert.deepEqual(
4344
listitem.map(item => item.textContent.trim()),
44-
['Report a crate that violates policies'].concat(['For all other cases: [email protected]']),
45+
['Report a crate that violates policies'].concat([`For all other cases:
46+
4547
);
4648
});
4749

0 commit comments

Comments
 (0)