Skip to content

Commit

Permalink
sanity check negative case
Browse files Browse the repository at this point in the history
  • Loading branch information
joshspicer authored Jan 25, 2024
1 parent 199b6a3 commit c7207ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/container-features/lockfile.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ describe('Lockfile', function () {
assert.ok(response.includes('ghcr.io/devcontainers/features/github-cli'), 'github-cli Feature is missing');
assert.ok(response.includes('ghcr.io/devcontainers/features/azure-cli'), 'azure-cli Feature is missing');
assert.ok(response.includes('ghcr.io/codspace/versioning/foo'), 'foo Feature is missing');

// Check that filtered Features are not present
assert.ok(!response.includes('mylocalfeature'));
assert.ok(!response.includes('terraform'));
assert.ok(!response.includes('myfeatures'));
});

it('upgrade command', async () => {
Expand Down

0 comments on commit c7207ed

Please sign in to comment.