mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-08 09:12:05 +08:00
[Tests] Fix FileWatcher
Need to use `pit` instead of `it`. I changed .toBe(false) instead of .toBe(true) just to make sure that the content is actually executed
This commit is contained in:
@@ -20,7 +20,7 @@ describe('FileWatcher', function() {
|
||||
});
|
||||
});
|
||||
|
||||
it('it should get the watcher instance when ready', function() {
|
||||
pit('it should get the watcher instance when ready', function() {
|
||||
var fileWatcher = new FileWatcher(['rootDir']);
|
||||
return fileWatcher._loading.then(function(watchers) {
|
||||
watchers.forEach(function(watcher) {
|
||||
|
||||
Reference in New Issue
Block a user