diff --git a/test/nuts/digitalExperienceBundle/constants.ts b/test/nuts/digitalExperienceBundle/constants.ts index 57afffb8f..78f2dce3f 100644 --- a/test/nuts/digitalExperienceBundle/constants.ts +++ b/test/nuts/digitalExperienceBundle/constants.ts @@ -8,7 +8,7 @@ import { join } from 'node:path'; import { TestSessionOptions } from '@salesforce/cli-plugins-testkit/lib/testSession.js'; import { registry } from '@salesforce/source-deploy-retrieve'; -import { META_XML_SUFFIX } from '@salesforce/source-deploy-retrieve/lib/src/common'; +import { META_XML_SUFFIX } from '@salesforce/source-deploy-retrieve/lib/src/common/index.js'; export const SOURCE_BASE_RELATIVE_PATH = join('force-app', 'main', 'default'); export const DEB_NUTS_PATH = join(process.cwd(), 'test', 'nuts', 'digitalExperienceBundle'); diff --git a/test/nuts/seeds/retrieve.sourcepath.seed.ts b/test/nuts/seeds/retrieve.sourcepath.seed.ts index a051a937a..a80bae638 100644 --- a/test/nuts/seeds/retrieve.sourcepath.seed.ts +++ b/test/nuts/seeds/retrieve.sourcepath.seed.ts @@ -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: `--sourcepath ${testkit.packageNames.join(',')}` }); + await testkit.deploy({ args: `--source-dir ${testkit.packageNames.join(',')}` }); }); after(async () => { @@ -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: `--sourcepath ${toRetrieve}` }); + await testkit.retrieve({ args: `--source-dir ${toRetrieve}` }); await testkit.expect.filesToBeChanged(testCase.toVerify, testCase.toIgnore); }); }