Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 39df687

Browse files
committed
scheduleActiveContextUpdate() argument keywords
1 parent 550fb8c commit 39df687

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/github-package.test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ describe('GithubPackage', function() {
455455
let resolutionMergeConflict;
456456
beforeEach(async function() {
457457
await githubPackage.scheduleActiveContextUpdate({
458-
activeRepositoryPath: workdirMergeConflict,
458+
usePath: workdirMergeConflict,
459459
});
460460
resolutionMergeConflict = contextPool.getContext(workdirMergeConflict).getResolutionProgress();
461461
});
@@ -477,7 +477,7 @@ describe('GithubPackage', function() {
477477
let resolutionNoConflict;
478478
beforeEach(async function() {
479479
await githubPackage.scheduleActiveContextUpdate({
480-
activeRepositoryPath: workdirNoConflict,
480+
usePath: workdirNoConflict,
481481
});
482482
resolutionNoConflict = contextPool.getContext(workdirNoConflict).getResolutionProgress();
483483
});
@@ -494,7 +494,7 @@ describe('GithubPackage', function() {
494494
describe('when opening a non-repository project', function() {
495495
beforeEach(async function() {
496496
await githubPackage.scheduleActiveContextUpdate({
497-
activeRepositoryPath: nonRepositoryPath,
497+
usePath: nonRepositoryPath,
498498
});
499499
});
500500

@@ -515,7 +515,7 @@ describe('GithubPackage', function() {
515515
project.setPaths([workdirPath1, workdirPath2]);
516516

517517
await githubPackage.scheduleActiveContextUpdate({
518-
activeRepositoryPath: workdirPath3,
518+
usePath: workdirPath3,
519519
});
520520
context1 = contextPool.getContext(workdirPath1);
521521
});
@@ -538,7 +538,7 @@ describe('GithubPackage', function() {
538538
project.setPaths([workdirPath1]);
539539

540540
await githubPackage.scheduleActiveContextUpdate({
541-
activeRepositoryPath: workdirPath2,
541+
usePath: workdirPath2,
542542
});
543543
context1 = contextPool.getContext(workdirPath1);
544544
});
@@ -561,7 +561,7 @@ describe('GithubPackage', function() {
561561
project.setPaths([workdirPath1, workdirPath2]);
562562

563563
await githubPackage.scheduleActiveContextUpdate({
564-
activeRepositoryPath: workdirPath2,
564+
usePath: workdirPath2,
565565
});
566566
});
567567

0 commit comments

Comments
 (0)