Skip to content

Commit

Permalink
Avoid using [].includes (does not work in IE11).
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Sep 6, 2019
1 parent c334bf5 commit b47a8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember/tests/routing/decoupled_basic_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ moduleFor(
);

assert.ok(
text.includes('Controller: emberjs'),
text.indexOf('Controller: emberjs') > -1,
"Passed model was set as controller's `model` property"
);
}
Expand Down

0 comments on commit b47a8fe

Please sign in to comment.