Skip to content

Commit

Permalink
remove a few superfluous asyncs from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tdumitrescu committed Jun 5, 2019
1 parent 4139462 commit 1bc28e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/browser/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ describe(`Nested Component instance`, function() {
expect(childEl.findPanelParentByTagName(`nested-app`)).to.equal(el);
});

it(`flushes child state updates to parent`, async function() {
it(`flushes child state updates to parent`, function() {
el.connectedCallback();
expect(el.state).to.not.have.property(`childAnimal`);
childEl = document.createElement(`nested-child`);
Expand Down Expand Up @@ -347,7 +347,7 @@ describe(`Nested Component instance`, function() {
expect(childEl.textContent).to.include(`parent title: test`);
});

it(`flushes child state to parent state`, async function() {
it(`flushes child state to parent state`, function() {
expect(childEl.textContent).to.include(`child animal: fox`);
});

Expand Down Expand Up @@ -423,7 +423,7 @@ describe(`Nested Component instance with partially shared state`, function() {
expect(childEl.textContent).to.include(`child: parentOnlyState: undefined`);
});

it(`flushes shared app state from child to parent`, async function() {
it(`flushes shared app state from child to parent`, function() {
expect(childEl.textContent).to.include(`shared child animal: fox`);
});

Expand Down

0 comments on commit 1bc28e1

Please sign in to comment.