Skip to content

Commit 73adc9e

Browse files
authored
Update testing.md
import hbs from 'ember-cli-htmlbars-inline-precompile' is deprecated instead use import { hbs } from 'ember-cli-htmlbars'
1 parent 2f7d049 commit 73adc9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/ember/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Now, with that setup out of the way, let’s get back to talking about the text
215215
import { module, test } from 'qunit';
216216
import { setupRenderingTest } from 'ember-qunit';
217217
import { render } from '@ember/test-helpers';
218-
import hbs from 'htmlbars-inline-precompile';
218+
import hbs } from 'ember-cli-htmlbars';
219219

220220
import User from 'app/types/user';
221221

@@ -283,7 +283,7 @@ Putting it all together, this is what our updated test definition would look lik
283283
import { module, test } from 'qunit';
284284
import { setupRenderingTest } from 'ember-qunit';
285285
import { render, TestContext } from '@ember/test-helpers';
286-
import hbs from 'htmlbars-inline-precompile';
286+
import hbs } from 'ember-cli-htmlbars';
287287

288288
import User from 'app/types/user';
289289

0 commit comments

Comments
 (0)