Skip to content

Commit c125851

Browse files
committed
Properly hide on and fn in those tests
1 parent ff558d2 commit c125851

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/@ember/-internals/glimmer/tests/integration/components/runtime-template-compiler-implicit-test.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ import GlimmerishComponent from '../../utils/glimmerish-component';
44
import { on } from '@ember/modifier/on';
55
import { fn } from '@ember/helper';
66

7-
// Assign these to constants so that they don't get removed by an
8-
// eager transpiler pass. These days, people should be using
9-
// verbatim-mode compilers, but this codebase isn't doing that yet.
10-
const _ = [on, fn];
11-
127
moduleFor(
138
'Strict Mode - Runtime Template Compiler (implicit)',
149
class extends RenderingTestCase {
@@ -366,6 +361,9 @@ moduleFor(
366361
async '@test Can use on and fn'(assert: QUnit['assert']) {
367362
assert.expect(1);
368363

364+
hide(on);
365+
hide(fn);
366+
369367
await this.renderComponentModule(() => {
370368
let handleClick = (value: unknown) => {
371369
assert.equal(value, 123);

0 commit comments

Comments
 (0)