Skip to content

Commit

Permalink
test: fix NUT (maybe)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Oct 29, 2024
1 parent bf6b064 commit 915f908
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 6 additions & 1 deletion test/nuts/tracking/basics.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,12 @@ describe('end-to-end-test for tracking with an org (single packageDir)', () => {
expect(response?.files).to.be.an.instanceof(Array).with.lengthOf(0);
});

it('sees a local delete in local status', () => {
it('sees a local delete in local status', async () => {
const classDir = path.join(session.project.dir, 'force-app', 'main', 'default', 'classes');
await Promise.all([
fs.promises.unlink(path.join(classDir, 'TestOrderController.cls')),
fs.promises.unlink(path.join(classDir, 'TestOrderController.cls-meta.xml')),
]);
const response = execCmd<PreviewResult>('project deploy preview --json', {
ensureExitCode: 0,
}).jsonOutput?.result;
Expand Down
7 changes: 0 additions & 7 deletions test/nuts/tracking/remoteChanges.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,4 @@ describe('remote changes', () => {
expect(result).to.include(`v${newApiVersion} metadata`);
});
});

describe('remote changes: mixed', () => {
it('all three types of changes on the server');
it('can see the changes in status');
it('can pull the changes');
it('sees correct local and remote status');
});
});

0 comments on commit 915f908

Please sign in to comment.