From 73adc9e1113e4e880016ab12cc5946589689b65f Mon Sep 17 00:00:00 2001 From: Christophe <44000258+ChristopheTiet@users.noreply.github.com> Date: Wed, 20 Jul 2022 09:55:40 +0200 Subject: [PATCH] Update testing.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit import hbs from 'ember-cli-htmlbars-inline-precompile' is deprecated instead use import { hbs } from 'ember-cli-htmlbars' --- docs/ember/testing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ember/testing.md b/docs/ember/testing.md index 8a1e66a7d..6ad9184ac 100644 --- a/docs/ember/testing.md +++ b/docs/ember/testing.md @@ -215,7 +215,7 @@ Now, with that setup out of the way, let’s get back to talking about the text import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; -import hbs from 'htmlbars-inline-precompile'; +import { hbs } from 'ember-cli-htmlbars'; import User from 'app/types/user'; @@ -283,7 +283,7 @@ Putting it all together, this is what our updated test definition would look lik import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, TestContext } from '@ember/test-helpers'; -import hbs from 'htmlbars-inline-precompile'; +import { hbs } from 'ember-cli-htmlbars'; import User from 'app/types/user';