Commit Graph

7974 Commits

Author SHA1 Message Date
Ash Wilson
dc9fe25255 Wrap temp.cleanupSync() calls in try-catch blocks 2017-08-04 14:18:43 -04:00
Ash Wilson
97ffe46247 Consistently use require('temp').track() 2017-08-04 14:08:29 -04:00
Ash Wilson
ea91723b36 Only deal with watcher stopping in the onDidChangeFiles spec 2017-08-04 10:37:41 -04:00
Ash Wilson
3b57d2a259 Let's see if we're still green without diagnostics! 2017-08-03 20:29:01 -04:00
Ash Wilson
dc9cb76fa4 tfw your diagnostic tests don't even run because of a linter error 2017-08-03 19:07:52 -04:00
Ash Wilson
7b61d4f62f Log a few more things 2017-08-03 18:21:24 -04:00
Ash Wilson
a84694fac1 Stop watchers in an afterEach block 2017-08-03 18:21:11 -04:00
Ash Wilson
095f6da379 Default to the appveyor home dir 2017-08-03 18:15:39 -04:00
Ash Wilson
94c91c57b1 Explicitly put the logfile in ${HOME} 2017-08-03 15:32:18 -04:00
Ash Wilson
bb91bb58e5 Okay fine let's do this the dumb way 2017-08-03 14:30:40 -04:00
Ash Wilson
263adde377 Use async cleanup to avoid ENOTEMPTY on Windows 2017-08-03 14:22:54 -04:00
Ash Wilson
dedf5193cd Does stderr work there... ? 2017-08-03 13:11:09 -04:00
Ash Wilson
3deb26b6a0 console.log debugging 2017-08-03 11:52:15 -04:00
Ash Wilson
3e3ab73748 Use distinct names for spec directories 2017-08-03 07:48:22 -07:00
Ash Wilson
b6a3c5c6d2 Consistently split paths in test cases 2017-08-03 08:51:44 -04:00
Ash Wilson
4cf519f2d7 Merge branch 'master' into aw-filewatcher 2017-08-03 08:37:40 -04:00
Ash Wilson
e90441303d 🔥 console.logs 2017-08-02 19:34:44 -04:00
Ash Wilson
1e739aa891 Prepend a drive root to lookup paths on Windows 2017-08-02 14:55:12 -04:00
Ash Wilson
b9080bcec5 Don't use "path" as a variable name 2017-08-02 12:59:38 -04:00
Ash Wilson
c7a47a9e89 Use module.exports to not break Joanna horribly 2017-08-01 16:40:54 -04:00
Ash Wilson
00346614a0 Spec for onDidChangeFiles 2017-08-01 15:58:38 -04:00
Ash Wilson
67a8ba2a04 Adjust specs for the changed event shape 2017-08-01 15:08:07 -04:00
Ash Wilson
53ea430019 Update spec name 2017-08-01 15:08:07 -04:00
Ash Wilson
3fab3fed36 Consistent path handling in specs 2017-08-01 15:08:07 -04:00
Ash Wilson
3c967b07ef Use a cross-platform way to generate absolute paths for specs 2017-08-01 15:08:07 -04:00
Ash Wilson
9c874c921e Use the watchPath API in specs 2017-08-01 15:08:07 -04:00
Ash Wilson
99d6f911cf Rename the filesystem-manager-spec too 2017-08-01 15:08:06 -04:00
Ash Wilson
6cc3e4b6d2 Test case for consolidating child watchers during split 2017-08-01 15:08:06 -04:00
Ash Wilson
0c5674a56c Split subtrees into child watchers on parent watcher removal 2017-08-01 15:08:06 -04:00
Ash Wilson
a5f217fd51 WIP work on rewatching child directories 2017-08-01 15:08:05 -04:00
Ash Wilson
60e6da9097 Weird-ass concurrent mkdir() error 2017-08-01 15:08:05 -04:00
Ash Wilson
f75aa1ae03 Use onWillStop() instead of onDidStop()
This will prevent new Watchers from attaching to NativeWatchers that are
in the process of stopping.
2017-08-01 15:08:05 -04:00
Ash Wilson
b34a9d6972 Only resolve the waitForChanges promise once 2017-08-01 15:08:05 -04:00
Ash Wilson
6d17fc880d Opportunistic native watcher stopping 2017-08-01 15:08:05 -04:00
Ash Wilson
9c8ed35b26 Provide native watcher creation function to the NativeWatcherRegistry constructor 2017-08-01 15:08:05 -04:00
Ash Wilson
6e6c0a5ef9 Use getStartPromise() in specs 2017-08-01 15:08:05 -04:00
Ash Wilson
53dcc00bfc Don't cleanup temp between runs to prevent reused directory names 2017-08-01 15:08:05 -04:00
Ash Wilson
246e87b660 👕 keep standard happy 2017-08-01 15:08:04 -04:00
Ash Wilson
d858e37058 Support pending specs with an empty body 2017-08-01 15:08:04 -04:00
Ash Wilson
f3a4c74158 🔥 console.log 2017-08-01 15:08:04 -04:00
Ash Wilson
0325a77d59 Test NativeWatcher removal 2017-08-01 15:08:04 -04:00
Ash Wilson
882095eea6 Test child watcher adoption 2017-08-01 15:08:04 -04:00
Ash Wilson
be681d1324 Use a private utility function to wait for all native watchers to stop 2017-08-01 15:08:04 -04:00
Ash Wilson
39085ce3dc First few FileSystemManager specs 2017-08-01 15:08:03 -04:00
Ash Wilson
9c9625eb76 Helpers to promisify functions in specs 2017-08-01 15:08:03 -04:00
Ash Wilson
366ee19bd9 👕 make the linter happy 2017-08-01 15:08:03 -04:00
Ash Wilson
a1ccd49b8e Use a tree-backed registry to deduplicate and consolidate native watchers 2017-08-01 15:08:03 -04:00
Ash Wilson
41cb5ce076 Configure Mocha to use the JUnit XML reporter 2017-08-01 11:27:16 -04:00
Ash Wilson
2574ca5736 More diagnostics 2017-08-01 11:27:15 -04:00
Ash Wilson
db2b196404 Diagnostics for AppVeyor 2017-08-01 11:27:15 -04:00