-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use strict equality check by default (#68)
* test: Add failing test case. * fix: Use strict equality comparison by default.
- Loading branch information
1 parent
75b646c
commit c12ce82
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c12ce82
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How could this "default" config be overwritten? It is after "...configuration,".
c12ce82
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iamchangming There is no anticipation that you would you ever need to override it. This is a framework-specific configuration and the whole point of it is to automatically configure this assertion for the framework - Jest, in this case. If you need to override it, you should not be using this import location. Use the base, framework-agnostic import location.
c12ce82
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From Readme, configure should be able to overwrite config.
import { configure } from "rxjs-marbles/mocha";
const { cases, marbles } = configure({ run: false });
Tests are failing because of this commit. And there is no way to overwrite this back!