-
-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Labels
Description
Is it ok to disable this rule in tests? This is a contrived test case
let someThing;
hooks.beforeEach(function (assert) {
someThing = null;
});
test('foo', async function (assert) {
someThing = 'foo'
await render(<template>
<MyComponent @arg={{someThing}} />
</template>);
});
test('bar', async function (assert) {
someThing = 'bar'
await render(<template>
<MyComponent @arg={{someThing}} />
</template>);
});