From ee815f8ceb9f0d9614281b29294fb1060580f16c Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Tue, 2 Mar 2021 16:08:26 -0500 Subject: [PATCH] Remove `registerPlugin`/`unregisterPlugin` expectDeprecation's. This deprecation only exists on master. --- .../ember-template-compiler/tests/basic-usage-test.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/ember-template-compiler/tests/basic-usage-test.js b/packages/ember-template-compiler/tests/basic-usage-test.js index 4626b599048..48d0b85780f 100644 --- a/packages/ember-template-compiler/tests/basic-usage-test.js +++ b/packages/ember-template-compiler/tests/basic-usage-test.js @@ -40,9 +40,8 @@ moduleFor( 'ember-template-compiler: Embroider-like compilation', class extends RenderingTestCase { afterEach() { - expectDeprecation(() => { - unregisterPlugin('ast', removeDataTest); - }, /unregisterPlugin is deprecated, please pass plugins directly via `compile` and\/or `precompile`/); + unregisterPlugin('ast', removeDataTest); + return super.afterEach(); } @@ -65,9 +64,7 @@ moduleFor( } '@test registerPlugin based transforms can be avoided'(assert) { - expectDeprecation(() => { - registerPlugin('ast', removeDataTest); - }, /registerPlugin is deprecated, please pass plugins directly via `compile` and\/or `precompile`/); + registerPlugin('ast', removeDataTest); let template = '
 
';