@@ -209,15 +209,15 @@ describe.only('GithubPackage', function() {
209
209
}
210
210
}
211
211
212
- context ( 'with no project, state, or active pane' , function ( ) {
212
+ describe ( 'with no project, state, or active pane' , function ( ) {
213
213
beforeEach ( async function ( ) {
214
214
await contextUpdateAfter ( githubPackage , ( ) => githubPackage . activate ( ) ) ;
215
215
} ) ;
216
216
217
217
usesUndeterminedRepositoryContext ( ) ;
218
218
} ) ;
219
219
220
- context ( 'with only 1 project' , function ( ) {
220
+ describe ( 'with only 1 project' , function ( ) {
221
221
let workdirPath ;
222
222
beforeEach ( async function ( ) {
223
223
workdirPath = await cloneRepository ( 'three-files' ) ;
@@ -229,7 +229,7 @@ describe.only('GithubPackage', function() {
229
229
usesProjectContextFromPath ( workdirPath ) ;
230
230
} ) ;
231
231
232
- context ( 'with only projects' , function ( ) {
232
+ describe ( 'with only projects' , function ( ) {
233
233
let workdirPath1 , workdirPath2 , nonRepositoryPath ;
234
234
beforeEach ( async function ( ) {
235
235
( [ workdirPath1 , workdirPath2 , nonRepositoryPath ] = await Promise . all ( [
@@ -251,7 +251,7 @@ describe.only('GithubPackage', function() {
251
251
} ) ;
252
252
} ) ;
253
253
254
- context ( 'with projects and an active pane' , function ( ) {
254
+ describe ( 'with projects and an active pane' , function ( ) {
255
255
let workdirPath1 , workdirPath2 ;
256
256
beforeEach ( async function ( ) {
257
257
( [ workdirPath1 , workdirPath2 ] = await Promise . all ( [
@@ -267,7 +267,7 @@ describe.only('GithubPackage', function() {
267
267
usesActivePaneContextFromPath ( workdirPath2 ) ;
268
268
} ) ;
269
269
270
- context ( 'with projects and state' , function ( ) {
270
+ describe ( 'with projects and state' , function ( ) {
271
271
let workdirPath1 , workdirPath2 , workdirPath3 ;
272
272
beforeEach ( async function ( ) {
273
273
( [ workdirPath1 , workdirPath2 , workdirPath3 ] = await Promise . all ( [
@@ -291,7 +291,7 @@ describe.only('GithubPackage', function() {
291
291
} ) ;
292
292
} ) ;
293
293
294
- context ( 'with projects, state, and an active pane' , function ( ) {
294
+ describe ( 'with projects, state, and an active pane' , function ( ) {
295
295
let workdirPath1 , workdirPath2 ;
296
296
beforeEach ( async function ( ) {
297
297
( [ workdirPath1 , workdirPath2 ] = await Promise . all ( [
@@ -309,7 +309,7 @@ describe.only('GithubPackage', function() {
309
309
usesActivePaneContextFromPath ( workdirPath2 ) ;
310
310
} ) ;
311
311
312
- context ( 'with 1 project and state' , function ( ) {
312
+ describe ( 'with 1 project and state' , function ( ) {
313
313
let workdirPath1 , workdirPath2 ;
314
314
beforeEach ( async function ( ) {
315
315
( [ workdirPath1 , workdirPath2 ] = await Promise . all ( [
@@ -326,7 +326,7 @@ describe.only('GithubPackage', function() {
326
326
usesProjectContextFromPath ( workdirPath1 ) ;
327
327
} ) ;
328
328
329
- context ( 'with showOnStartup and no config file' , function ( ) {
329
+ describe ( 'with showOnStartup and no config file' , function ( ) {
330
330
let confFile ;
331
331
beforeEach ( async function ( ) {
332
332
confFile = path . join ( configDirPath , 'github.cson' ) ;
@@ -343,7 +343,7 @@ describe.only('GithubPackage', function() {
343
343
assertFileExists ( 'writes a config' , confFile ) ;
344
344
} ) ;
345
345
346
- context ( 'with showOnStartup and no config file' , function ( ) {
346
+ describe ( 'with showOnStartup and no config file' , function ( ) {
347
347
let confFile ;
348
348
beforeEach ( async function ( ) {
349
349
confFile = path . join ( configDirPath , 'github.cson' ) ;
@@ -360,7 +360,7 @@ describe.only('GithubPackage', function() {
360
360
assertFileExists ( 'writes a config' , confFile ) ;
361
361
} ) ;
362
362
363
- context ( 'when it\'s not the first run for new projects' , function ( ) {
363
+ describe ( 'when it\'s not the first run for new projects' , function ( ) {
364
364
let confFile ;
365
365
beforeEach ( async function ( ) {
366
366
confFile = path . join ( configDirPath , 'github.cson' ) ;
@@ -375,7 +375,7 @@ describe.only('GithubPackage', function() {
375
375
assertFileExists ( 'has a config' , confFile ) ;
376
376
} ) ;
377
377
378
- context ( 'when it\'s not the first run for existing projects' , function ( ) {
378
+ describe ( 'when it\'s not the first run for existing projects' , function ( ) {
379
379
let confFile ;
380
380
beforeEach ( async function ( ) {
381
381
confFile = path . join ( configDirPath , 'github.cson' ) ;
@@ -456,7 +456,7 @@ describe.only('GithubPackage', function() {
456
456
atomEnv . destroy ( ) ;
457
457
} ) ;
458
458
459
- context ( 'with no projects' , function ( ) {
459
+ describe ( 'with no projects' , function ( ) {
460
460
beforeEach ( async function ( ) {
461
461
await contextUpdateAfter ( githubPackage , ( ) => githubPackage . activate ( ) ) ;
462
462
} ) ;
@@ -466,7 +466,7 @@ describe.only('GithubPackage', function() {
466
466
} ) ;
467
467
} ) ;
468
468
469
- context ( 'with existing projects' , function ( ) {
469
+ describe ( 'with existing projects' , function ( ) {
470
470
let workdirPath1 , workdirPath2 , workdirPath3 ;
471
471
beforeEach ( async function ( ) {
472
472
( [ workdirPath1 , workdirPath2 , workdirPath3 ] = await Promise . all ( [
@@ -487,7 +487,7 @@ describe.only('GithubPackage', function() {
487
487
assert . isFalse ( contextPool . getContext ( workdirPath3 ) . isPresent ( ) ) ;
488
488
} ) ;
489
489
490
- context ( 'when opening a new project' , function ( ) {
490
+ describe ( 'when opening a new project' , function ( ) {
491
491
beforeEach ( async function ( ) {
492
492
await contextUpdateAfter ( githubPackage , ( ) => project . setPaths ( [ workdirPath1 , workdirPath2 , workdirPath3 ] ) ) ;
493
493
} ) ;
@@ -497,7 +497,7 @@ describe.only('GithubPackage', function() {
497
497
} ) ;
498
498
} ) ;
499
499
500
- context ( 'when removing a project' , function ( ) {
500
+ describe ( 'when removing a project' , function ( ) {
501
501
beforeEach ( async function ( ) {
502
502
await contextUpdateAfter ( githubPackage , ( ) => project . setPaths ( [ workdirPath1 ] ) ) ;
503
503
} ) ;
@@ -507,7 +507,7 @@ describe.only('GithubPackage', function() {
507
507
} ) ;
508
508
} ) ;
509
509
510
- context ( 'when removing all projects' , function ( ) {
510
+ describe ( 'when removing all projects' , function ( ) {
511
511
beforeEach ( async function ( ) {
512
512
await contextUpdateAfter ( githubPackage , ( ) => project . setPaths ( [ ] ) ) ;
513
513
} ) ;
@@ -521,7 +521,7 @@ describe.only('GithubPackage', function() {
521
521
} ) ;
522
522
} ) ;
523
523
524
- context ( 'when an active pane is opened' , function ( ) {
524
+ describe ( 'when an active pane is opened' , function ( ) {
525
525
beforeEach ( async function ( ) {
526
526
await contextUpdateAfter ( githubPackage , ( ) => workspace . open ( path . join ( workdirPath2 , 'b.txt' ) ) ) ;
527
527
} ) ;
@@ -533,7 +533,7 @@ describe.only('GithubPackage', function() {
533
533
} ) ;
534
534
} ) ;
535
535
536
- context ( 'with non-repository, no-conflict, and in-progress merge-conflict projects' , function ( ) {
536
+ describe ( 'with non-repository, no-conflict, and in-progress merge-conflict projects' , function ( ) {
537
537
let nonRepositoryPath , workdirNoConflict , workdirMergeConflict ;
538
538
const remainingMarkerCount = 3 ;
539
539
@@ -566,7 +566,7 @@ describe.only('GithubPackage', function() {
566
566
resolutionMergeConflict . reportMarkerCount ( 'modified-on-both-ours.txt' , remainingMarkerCount ) ;
567
567
} ) ;
568
568
569
- context ( 'when opening an in-progress merge-conflict project' , function ( ) {
569
+ describe ( 'when opening an in-progress merge-conflict project' , function ( ) {
570
570
let resolutionMergeConflict ;
571
571
beforeEach ( async function ( ) {
572
572
await workspace . open ( path . join ( workdirMergeConflict , 'modified-on-both-ours.txt' ) ) ;
@@ -583,7 +583,7 @@ describe.only('GithubPackage', function() {
583
583
} ) ;
584
584
} ) ;
585
585
586
- context ( 'when opening a no-conflict repository project' , function ( ) {
586
+ describe ( 'when opening a no-conflict repository project' , function ( ) {
587
587
let resolutionNoConflict ;
588
588
beforeEach ( async function ( ) {
589
589
await workspace . open ( path . join ( workdirNoConflict , 'b.txt' ) ) ;
@@ -596,7 +596,7 @@ describe.only('GithubPackage', function() {
596
596
hasActiveResolutionProgress ( false ) ;
597
597
} ) ;
598
598
599
- context ( 'when opening a non-repository project' , function ( ) {
599
+ describe ( 'when opening a non-repository project' , function ( ) {
600
600
beforeEach ( async function ( ) {
601
601
await workspace . open ( path . join ( nonRepositoryPath , 'c.txt' ) ) ;
602
602
await githubPackage . scheduleActiveContextUpdate ( ) ;
@@ -606,7 +606,7 @@ describe.only('GithubPackage', function() {
606
606
} ) ;
607
607
} ) ;
608
608
609
- context ( 'with projects, state, and an active pane' , function ( ) {
609
+ describe ( 'with projects, state, and an active pane' , function ( ) {
610
610
let workdirPath1 , workdirPath2 , workdirPath3 ;
611
611
beforeEach ( async function ( ) {
612
612
( [ workdirPath1 , workdirPath2 , workdirPath3 ] = await Promise . all ( [
@@ -625,7 +625,7 @@ describe.only('GithubPackage', function() {
625
625
usesActivePaneContextFromPath ( workdirPath2 ) ;
626
626
} ) ;
627
627
628
- context ( 'with 1 project and state' , function ( ) {
628
+ describe ( 'with 1 project and state' , function ( ) {
629
629
let workdirPath1 , workdirPath2 ;
630
630
beforeEach ( async function ( ) {
631
631
( [ workdirPath1 , workdirPath2 ] = await Promise . all ( [
@@ -642,7 +642,7 @@ describe.only('GithubPackage', function() {
642
642
usesProjectContextFromPath ( workdirPath1 ) ;
643
643
} ) ;
644
644
645
- context ( 'with projects and state' , function ( ) {
645
+ describe ( 'with projects and state' , function ( ) {
646
646
let workdirPath1 , workdirPath2 ;
647
647
beforeEach ( async function ( ) {
648
648
( [ workdirPath1 , workdirPath2 ] = await Promise . all ( [
@@ -661,7 +661,7 @@ describe.only('GithubPackage', function() {
661
661
} ) ;
662
662
} ) ;
663
663
664
- context ( 'with a non-repository project' , function ( ) {
664
+ describe ( 'with a non-repository project' , function ( ) {
665
665
let nonRepositoryPath ;
666
666
beforeEach ( async function ( ) {
667
667
nonRepositoryPath = await getTempDir ( ) ;
@@ -686,7 +686,7 @@ describe.only('GithubPackage', function() {
686
686
} ) ;
687
687
} ) ;
688
688
689
- context ( 'with an active pane in a non-repository project' , function ( ) {
689
+ describe ( 'with an active pane in a non-repository project' , function ( ) {
690
690
beforeEach ( async function ( ) {
691
691
const nonRepositoryPath = await fs . realpath ( temp . mkdirSync ( ) ) ;
692
692
const workdir = await cloneRepository ( 'three-files' ) ;
@@ -703,7 +703,7 @@ describe.only('GithubPackage', function() {
703
703
} ) ;
704
704
} ) ;
705
705
706
- context ( 'with multiple pane items' , function ( ) {
706
+ describe ( 'with multiple pane items' , function ( ) {
707
707
let workdirPath1 , workdirPath2 ;
708
708
709
709
if ( useLegacyPanels ) {
@@ -727,7 +727,7 @@ describe.only('GithubPackage', function() {
727
727
usesActivePaneContextFromPath ( workdirPath1 ) ;
728
728
} ) ;
729
729
730
- context ( 'with an active context' , function ( ) {
730
+ describe ( 'with an active context' , function ( ) {
731
731
let workdirPath1 , workdirPath2 ;
732
732
beforeEach ( async function ( ) {
733
733
( [ workdirPath1 , workdirPath2 ] = await Promise . all ( [
@@ -747,7 +747,7 @@ describe.only('GithubPackage', function() {
747
747
} ) ;
748
748
} ) ;
749
749
750
- context ( 'with a repository project\'s subdirectory' , function ( ) {
750
+ describe ( 'with a repository project\'s subdirectory' , function ( ) {
751
751
let workdirPath ;
752
752
beforeEach ( async function ( ) {
753
753
workdirPath = await cloneRepository ( 'three-files' ) ;
@@ -762,7 +762,7 @@ describe.only('GithubPackage', function() {
762
762
} ) ;
763
763
} ) ;
764
764
765
- context ( 'with a repository project' , function ( ) {
765
+ describe ( 'with a repository project' , function ( ) {
766
766
let workdirPath ;
767
767
beforeEach ( async function ( ) {
768
768
workdirPath = await cloneRepository ( 'three-files' ) ;
@@ -773,7 +773,7 @@ describe.only('GithubPackage', function() {
773
773
774
774
assertContextIsInPoolAndPresent ( 'creates a context for the project' , workdirPath ) ;
775
775
776
- context ( 'when the repository is destroyed' , function ( ) {
776
+ describe ( 'when the repository is destroyed' , function ( ) {
777
777
beforeEach ( function ( ) {
778
778
const repository = contextPool . getContext ( workdirPath ) . getRepository ( ) ;
779
779
repository . destroy ( ) ;
@@ -785,7 +785,7 @@ describe.only('GithubPackage', function() {
785
785
} ) ;
786
786
} ) ;
787
787
788
- context ( 'with a symlinked repository project' , function ( ) {
788
+ describe ( 'with a symlinked repository project' , function ( ) {
789
789
beforeEach ( async function ( ) {
790
790
if ( process . platform === 'win32' ) {
791
791
this . skip ( ) ;
@@ -851,7 +851,7 @@ describe.only('GithubPackage', function() {
851
851
atomEnv . destroy ( ) ;
852
852
} ) ;
853
853
854
- context ( 'with a non-repository project' , function ( ) {
854
+ describe ( 'with a non-repository project' , function ( ) {
855
855
let nonRepositoryPath ;
856
856
beforeEach ( async function ( ) {
857
857
nonRepositoryPath = await getTempDir ( ) ;
@@ -920,7 +920,7 @@ describe.only('GithubPackage', function() {
920
920
atomEnv . destroy ( ) ;
921
921
} ) ;
922
922
923
- context ( 'with an existing project' , function ( ) {
923
+ describe ( 'with an existing project' , function ( ) {
924
924
let existingPath , sourcePath ;
925
925
926
926
// Setup files and the GitHub Package
@@ -944,7 +944,7 @@ describe.only('GithubPackage', function() {
944
944
} ) ;
945
945
} ) ;
946
946
947
- context ( 'with no projects' , function ( ) {
947
+ describe ( 'with no projects' , function ( ) {
948
948
let newPath , sourcePath , originalRepo ;
949
949
950
950
// Setup files and the GitHub Package
@@ -1026,7 +1026,7 @@ describe.only('GithubPackage', function() {
1026
1026
atomEnv . destroy ( ) ;
1027
1027
} ) ;
1028
1028
1029
- context ( 'when called before the initial render' , function ( ) {
1029
+ describe ( 'when called before the initial render' , function ( ) {
1030
1030
let item ;
1031
1031
beforeEach ( function ( ) {
1032
1032
item = githubPackage . createCommitPreviewStub ( { uri : 'atom-github://commit-preview' } ) ;
@@ -1039,7 +1039,7 @@ describe.only('GithubPackage', function() {
1039
1039
createsStubCommitPreviewItem ( item ) ;
1040
1040
} ) ;
1041
1041
1042
- context ( 'when called after the initial render' , function ( ) {
1042
+ describe ( 'when called after the initial render' , function ( ) {
1043
1043
let item ;
1044
1044
beforeEach ( function ( ) {
1045
1045
githubPackage . controller = Symbol ( 'controller' ) ;
@@ -1107,7 +1107,7 @@ describe.only('GithubPackage', function() {
1107
1107
atomEnv . destroy ( ) ;
1108
1108
} ) ;
1109
1109
1110
- context ( 'when called before the initial render' , function ( ) {
1110
+ describe ( 'when called before the initial render' , function ( ) {
1111
1111
let item ;
1112
1112
beforeEach ( function ( ) {
1113
1113
item = githubPackage . createCommitDetailStub ( { uri : 'atom-github://commit-detail?workdir=/home&sha=1234' } ) ;
@@ -1120,7 +1120,7 @@ describe.only('GithubPackage', function() {
1120
1120
createsStubCommitDetailItem ( item ) ;
1121
1121
} ) ;
1122
1122
1123
- context ( 'when called after the initial render' , function ( ) {
1123
+ describe ( 'when called after the initial render' , function ( ) {
1124
1124
let item ;
1125
1125
beforeEach ( function ( ) {
1126
1126
githubPackage . controller = Symbol ( 'controller' ) ;
@@ -1135,7 +1135,7 @@ describe.only('GithubPackage', function() {
1135
1135
} ) ;
1136
1136
} ) ;
1137
1137
1138
- context ( 'with repository projects' , function ( ) {
1138
+ describe ( 'with repository projects' , function ( ) {
1139
1139
let atomEnv , githubPackage ;
1140
1140
let workspace , project , commands , notificationManager ;
1141
1141
let tooltips , deserializers , config , keymaps , styles ;
@@ -1237,7 +1237,7 @@ describe.only('GithubPackage', function() {
1237
1237
atomEnv . destroy ( ) ;
1238
1238
} ) ;
1239
1239
1240
- context ( 'when a file change is made outside Atom in workspace 1' , function ( ) {
1240
+ describe ( 'when a file change is made outside Atom in workspace 1' , function ( ) {
1241
1241
beforeEach ( function ( ) {
1242
1242
if ( process . platform === 'linux' ) {
1243
1243
this . skip ( ) ;
@@ -1249,7 +1249,7 @@ describe.only('GithubPackage', function() {
1249
1249
refreshesRepositories ( repository1 , atomGitRepository1 ) ;
1250
1250
} ) ;
1251
1251
1252
- context ( 'when a file change is made outside Atom in workspace 2' , function ( ) {
1252
+ describe ( 'when a file change is made outside Atom in workspace 2' , function ( ) {
1253
1253
beforeEach ( function ( ) {
1254
1254
if ( process . platform === 'linux' ) {
1255
1255
this . skip ( ) ;
@@ -1261,15 +1261,15 @@ describe.only('GithubPackage', function() {
1261
1261
refreshesRepositories ( repository2 , atomGitRepository2 ) ;
1262
1262
} ) ;
1263
1263
1264
- context ( 'when a commit is made outside Atom in workspace 1' , function ( ) {
1264
+ describe ( 'when a commit is made outside Atom in workspace 1' , function ( ) {
1265
1265
beforeEach ( async function ( ) {
1266
1266
await repository1 . git . exec ( [ 'commit' , '-am' , 'commit in repository1' ] ) ;
1267
1267
} ) ;
1268
1268
1269
1269
refreshesRepositories ( repository1 , atomGitRepository1 ) ;
1270
1270
} ) ;
1271
1271
1272
- context ( 'when a commit is made outside Atom in workspace 2' , function ( ) {
1272
+ describe ( 'when a commit is made outside Atom in workspace 2' , function ( ) {
1273
1273
beforeEach ( async function ( ) {
1274
1274
await repository2 . git . exec ( [ 'commit' , '-am' , 'commit in repository2' ] ) ;
1275
1275
} ) ;
0 commit comments