Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
fix: l-text tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenybai committed Apr 29, 2021
1 parent ebdddf3 commit eea849f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/directives/__test__/text.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('.textDirective', () => {
},
state,
});
expect(el.innerText).toEqual('bar');
expect(el.textContent).toEqual('bar');
});

it(`should attempt to coerce to string if prop doesn't exist`, () => {
Expand All @@ -30,6 +30,6 @@ describe('.textDirective', () => {
data: { value: expression, compute: compute(expression, el), deps: [] },
state,
});
expect(el.innerText).toEqual('foo');
expect(el.textContent).toEqual('foo');
});
});

0 comments on commit eea849f

Please sign in to comment.