Skip to content

Commit

Permalink
Enable passing Fragment key tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Apr 12, 2019
1 parent 8708c9f commit 3630dbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/browser/fragments.test.js
Expand Up @@ -558,7 +558,7 @@ describe('Fragment', () => {
expect(scratch.innerHTML).to.equal('<div>Hello</div>');
});

it.skip('should not preserve state of children when the keys are different', () => {
it('should not preserve state of children when the keys are different', () => {
function Foo({ condition }) {
return condition ? (
<Fragment key="a">
Expand All @@ -584,7 +584,7 @@ describe('Fragment', () => {
expect(scratch.innerHTML).to.equal('<div>Hello</div>');
});

it.skip('should not preserve state between unkeyed and keyed fragment', () => {
it('should not preserve state between unkeyed and keyed fragment', () => {
function Foo({ condition }) {
return condition ? (
<Fragment key="a">
Expand Down

0 comments on commit 3630dbf

Please sign in to comment.