Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

fix: pull in preconfigured chai from interface tests #1121

Merged
merged 2 commits into from
Oct 4, 2019

Conversation

achingbrain
Copy link
Collaborator

This is to work around chaijs/chai#1298

Fundamentally we cannot pull in chai and add plugins to it without being careful of the order of those plugins as it's a singleton.

All we're really interested in is the expect function to just get the preconfigured one from the interface tests.

@achingbrain achingbrain requested a review from hugomrdias October 4, 2019 07:12
This is to work around chaijs/chai#1298

Fundamentally we cannot pull in chai and add plugins to it without
being careful of the order of those plugins as it's a singleton.

All we're really interested in is the `expect` function to just
get the preconfigured one from the interface tests.
@achingbrain achingbrain force-pushed the use-chai-from-interface-tests branch from 6c03b25 to 6a7eb8a Compare October 4, 2019 07:14
@achingbrain achingbrain merged commit 3d44103 into master Oct 4, 2019
@achingbrain achingbrain deleted the use-chai-from-interface-tests branch October 4, 2019 10:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants