mirror of https://github.com/status-im/metro.git
[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:
parent
63eca091b9
commit
6d7464efd5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue