Skip to content

Commit

Permalink
unwanted changes removed
Browse files Browse the repository at this point in the history
  • Loading branch information
prathameshzarkar9 committed Jun 14, 2024
1 parent fdc638d commit 6e43617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/cli.build.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('Dev Containers CLI', function () {
it('should correctly configure the image name to push from --image-name with --push true', async () => {
const testFolder = `${__dirname}/configs/example`;
try {
await shellExec(`${cli} build --workspace-folder ${testFolder} --image-name demo:v1 --label "name=prathamesh"`);
await shellExec(`${cli} build --workspace-folder ${testFolder} --image-name demo:v1`);
const tags = await shellExec(`docker images --format "{{.Tag}}" demo`);
const imageTags = tags.stdout.trim().split('\n').filter(tag => tag !== '<none>');
assert.equal(imageTags.length, 1, 'There should be only one tag for demo:v1');
Expand Down

0 comments on commit 6e43617

Please sign in to comment.