Skip to content

Commit

Permalink
test: fix --source-dir for force:source:deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Nov 3, 2023
1 parent 38c01dd commit 2de1311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/nuts/seeds/retrieve.sourcepath.seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ context('Retrieve Sourcepath NUTs [name: %REPO_NAME%]', () => {
nut: fileURLToPath(import.meta.url),
});
await testkit.trackGlobs(testkit.packageGlobs);
await testkit.deploy({ args: `--source-dir ${testkit.packageNames.join(',')}` });
await testkit.deploy({ args: `--sourcepath ${testkit.packageNames.join(',')}` });
});

after(async () => {
Expand All @@ -41,7 +41,7 @@ context('Retrieve Sourcepath NUTs [name: %REPO_NAME%]', () => {
const toRetrieve = path.normalize(testCase.toRetrieve);
it(`should retrieve ${toRetrieve}`, async () => {
await testkit.modifyLocalGlobs(testCase.toVerify);
await testkit.retrieve({ args: `--source-dir ${toRetrieve}` });
await testkit.retrieve({ args: `--sourcepath ${toRetrieve}` });
await testkit.expect.filesToBeChanged(testCase.toVerify, testCase.toIgnore);
});
}
Expand Down

0 comments on commit 2de1311

Please sign in to comment.