Skip to content

Commit

Permalink
Update test: 16px images only for action templates
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Sep 20, 2024
1 parent b169d7e commit 33fcbcc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions programs/create/create.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ describe('extension create', () => {

// Expect images/extension_16.png and expect images/extension_16.png
if (template.name !== 'init') {

expect(
fileExists(template.name, 'images/extension_16.png')
fileExists(template.name, 'images/extension_48.png')
).toBeTruthy()
}

if (template.uiContext?.includes('action')) {
expect(
fileExists(template.name, 'images/extension_48.png')
fileExists(template.name, 'images/extension_16.png')
).toBeTruthy()
}

Expand Down

0 comments on commit 33fcbcc

Please sign in to comment.