Skip to content

feat(reaclette): Next computed tests#31

Merged
julien-f merged 6 commits intoJsCommunity:nextfrom
GHEMID-Mohamed:next-computed-tests
Mar 13, 2019
Merged

feat(reaclette): Next computed tests#31
julien-f merged 6 commits intoJsCommunity:nextfrom
GHEMID-Mohamed:next-computed-tests

Conversation

@GHEMID-Mohamed
Copy link
Collaborator

No description provided.

@GHEMID-Mohamed GHEMID-Mohamed changed the base branch from master to next March 13, 2019 08:28

expect(getState().foo).toBe("bar");
});
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can merge these tests and use isReadOnly.

@GHEMID-Mohamed GHEMID-Mohamed requested a review from julien-f March 13, 2019 09:00
src/new.spec.js Outdated
},
});

noop(getState().thud);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why noop?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To call the computed. Otherwise it won't be called and the test will be not triggered

@GHEMID-Mohamed GHEMID-Mohamed requested a review from julien-f March 13, 2019 10:15
@julien-f julien-f merged commit d56079b into JsCommunity:next Mar 13, 2019
julien-f pushed a commit that referenced this pull request Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants