Skip to content

Commit

Permalink
will error now
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Sep 11, 2021
1 parent e6af391 commit b07dbcf
Showing 1 changed file with 3 additions and 5 deletions.
Expand Up @@ -228,11 +228,9 @@ abstract class ModifierManagerTest extends RenderTest {

let Main = defineComponent({ foo }, '<h1 {{foo}}>hello world</h1>');

this.renderComponent(Main);

assert.validateDeprecations(
/You attempted to update `foo` on `.*`, but it had already been used previously in the same computation/
);
assert.throws(() => {
this.renderComponent(Main);
}, /You attempted to update `foo` on `.*`, but it had already been used previously in the same computation/);
}

@test
Expand Down

0 comments on commit b07dbcf

Please sign in to comment.