Commit Graph

86 Commits

Author SHA1 Message Date
Nathan Sobo
265aa2f6c8 Warn rather than failing if we detect leaked pathwatcher subscriptions 2016-03-29 16:46:57 -06:00
joshaber
cb44450e92 Correct the spec name. 2016-03-08 12:40:29 -05:00
joshaber
2f401c7116 We should emit changes when anything changes. 2016-03-08 12:14:26 -05:00
Antonio Scandurra
12587073d2 🎨 isQuitting -> isUnloading 2016-03-07 10:52:16 +01:00
Antonio Scandurra
41c293ef9d Always pass {isQuitting} in tests 2016-03-04 17:23:19 +01:00
joshaber
01751c038a Ensure we're treating it as case insensitive. 2016-02-22 11:53:38 -05:00
joshaber
04cab58c56 Failing test. 2016-02-22 11:18:54 -05:00
joshaber
2e8569d7b3 Port failing tests.
Bring the failing tests over from
https://github.com/atom/atom/pull/10758 and
https://github.com/atom/atom/pull/10797.
2016-02-15 17:03:09 -05:00
joshaber
7ab501ce9d Disable the test for now. 2016-01-15 17:42:48 -05:00
joshaber
1fb1376769 Even more async. 2016-01-15 17:40:14 -05:00
joshaber
fb5b3f0473 🔥 some lint. 2016-01-15 13:19:28 -05:00
Daniel Hengeveld
2ad8f0edf8 Add a few failure messages to waitsFors in flaky specs 2016-01-13 16:39:54 -05:00
Daniel Hengeveld
1cde8f8020 Annotate waitsFor in a couple flaky specs 2016-01-12 17:31:28 -05:00
Daniel Hengeveld
9fe2470a05 Merge remote-tracking branch 'remotes/origin/dh-async-repo' into dh-async-repo-relativize-symlinks 2016-01-12 15:59:32 -05:00
Daniel Hengeveld
a9f9cd5b8f Add specs to cover ::relativizeToWorkingDirectory
Yay, this uncovered a problem with the implementation.
2016-01-12 15:32:59 -05:00
joshaber
bd8b26ab46 Don't use require.resolve. 2016-01-12 10:19:55 -05:00
joshaber
c22a68435a Make sure the editor disappears quickly. 2016-01-11 21:36:23 -05:00
joshaber
b661d41b2d Use the promise from refreshStatus to know when we're done. 2016-01-11 15:16:54 -05:00
joshaber
92839a1f4f Test .isSubmodule. 2016-01-07 16:48:28 -05:00
joshaber
d2d5966ee1 More tests for the submodule cases. 2016-01-07 16:37:05 -05:00
joshaber
a79a528fd1 Make .getRepo() submodule-aware. 2016-01-07 16:13:46 -05:00
joshaber
dcb9371c13 Test it. 2016-01-07 13:07:36 -05:00
joshaber
757bbae1e2 s//openNodeGitRepository/openRepository. 2016-01-05 15:26:16 -05:00
joshaber
6bf9d7eb7d Added .openNodeGitRepository 2016-01-04 16:17:16 -05:00
joshaber
b234f8481d We don't actually use repo. 2016-01-04 16:12:22 -05:00
joshaber
4024ea956c Fix the test. 2015-12-14 23:58:04 -05:00
joshaber
b9f5853729 Const. 2015-12-11 10:05:10 -05:00
joshaber
976fe0f2cf Linter 2015-12-10 20:19:58 -05:00
joshaber
81d4f06802 And that's why we write tests. 2015-12-10 20:00:37 -05:00
joshaber
5302fb84a9 Better test name. 2015-12-10 16:44:51 -05:00
joshaber
0794ea365d Tinker tailor soldier spy. 2015-12-10 16:43:25 -05:00
joshaber
bc14c28f11 Use the usual name. 2015-12-10 16:42:11 -05:00
joshaber
1a04c5a9c2 Be more specific in our error names. 2015-12-10 16:41:38 -05:00
joshaber
47606507f7 We want the booleans. 2015-12-10 16:31:36 -05:00
joshaber
e867b68eab Match the ordering of the GitRepository spec. 2015-12-10 10:38:15 -05:00
joshaber
86e39a22ff Test .destroy(). 2015-12-10 10:35:53 -05:00
joshaber
4711d03675 Tests for .checkoutHeadForEditor. 2015-12-10 10:35:07 -05:00
joshaber
f0a9c5d9f0 Just use the repo declared above. 2015-12-10 10:33:56 -05:00
joshaber
4fbbcac3bc Added .getLineDiffs 2015-12-03 15:34:58 -05:00
joshaber
53be0cf965 Added .checkoutReference 2015-12-03 14:07:12 -05:00
joshaber
74a0528bef Added .getConfigValue 2015-12-03 12:18:00 -05:00
joshaber
70601772d0 Added .getReferenceTarget 2015-12-03 11:54:55 -05:00
joshaber
c1e511927b Added .getReferences 2015-12-03 11:44:31 -05:00
joshaber
46d6e3b3c4 Added .hasBranch 2015-12-03 11:29:34 -05:00
joshaber
8da08724ad Added getDiffStats. 2015-12-02 23:51:33 -05:00
joshaber
cb62d917de Added getAheadBehindCount. 2015-12-02 17:20:38 -05:00
joshaber
aa634570e6 Added getShortHead 2015-12-02 16:16:30 -05:00
joshaber
6c58550bf4 Of course it's JS. 2015-12-02 14:36:25 -05:00
joshaber
e8a5864707 Do the work after waiting. 2015-12-02 14:23:27 -05:00
joshaber
fb7f2cce95 These may be called more than once and that's ok. 2015-12-02 14:23:11 -05:00