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
joshaber
11fb508039
🔥 all the disabled tests.
2015-12-02 14:22:57 -05:00
joshaber
8a6ab81325
100% less racy.
2015-12-02 13:26:06 -05:00
joshaber
c9813d8025
Ensure the repo is destroyed properly after testing.
2015-12-02 11:40:16 -05:00
joshaber
db7a3063e9
Call destroy on the synchronous repo.
2015-12-02 11:22:40 -05:00
joshaber
ca2fc8dbb0
Make sure we're testing the right thing.
2015-12-01 17:39:58 -05:00
joshaber
4559936af1
More const'ing.
2015-12-01 16:45:02 -05:00
joshaber
f290596542
Remove some lint.
2015-12-01 13:36:48 -05:00
joshaber
64d4716003
Use modern imports.
2015-12-01 12:47:11 -05:00
Daniel Hengeveld
2246cca631
Fix typo
2015-11-11 16:11:17 +01:00
Daniel Hengeveld
861d7550b5
i am bad at using GH desktop
2015-11-11 16:09:57 +01:00
Daniel Hengeveld
55a1d3b75f
Use async repo, add missing return
2015-11-11 16:06:18 +01:00
Daniel Hengeveld
c84c5cb72f
Merge branch 'dh-async-repo' of github.com:atom/atom into dh-async-repo
2015-11-11 15:05:55 +01:00
Daniel Hengeveld
7421568134
Add simple ::relativize()
...
- remove spec
- Remove GitUtils from async repo
- Doesn't cover all the cases as the one in git-utils but I think they might have
been specific to that library's implementation
2015-11-11 15:04:46 +01:00
joshaber
55cc08215d
Be even less racy.
2015-11-10 15:23:47 -05:00
joshaber
f0283df7d5
Re-add this test.
2015-11-09 14:24:15 -05:00
joshaber
c11f8f77ba
Re-enable that test.
2015-11-09 13:41:53 -05:00
joshaber
b97a7fb2c3
Unfocus
2015-11-09 12:42:27 -05:00
joshaber
51b15a6c00
Cleanup
2015-11-09 12:42:12 -05:00
joshaber
9da71cf7c0
Wait for the first refresh to complete.
2015-11-09 12:14:50 -05:00
joshaber
4b8bad2b0b
Focus async its.
2015-11-09 12:10:49 -05:00
Daniel Hengeveld
371c68e65e
Revert "await getCachedPathStatus in specs"
...
This reverts commit d8985c8175 .
2015-11-09 16:57:08 +01:00