Skip to content

Commit

Permalink
Unskip other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Jun 29, 2024
1 parent de811b1 commit 297e30e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions programs/cli/spec/build.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('extension build', () => {
})

describe('running built-in templates', () => {
it.skip.each(ALL_TEMPLATES)(
it.each(ALL_TEMPLATES)(
`builds an extension created via "$name" template`,
async (template) => {
const extensionPath = path.join(__dirname, 'fixtures', template.name)
Expand All @@ -47,7 +47,7 @@ describe('extension build', () => {
})

describe('using the --browser flag', () => {
it.skip.each(ALL_TEMPLATES)(
it.each(ALL_TEMPLATES)(
`builds the "$name" extension template across all browsers`,
async (template) => {
const extensionPath = path.join(__dirname, 'fixtures', template.name)
Expand Down Expand Up @@ -78,7 +78,7 @@ describe('extension build', () => {
})

describe('using the --zip flag', () => {
it.skip.each([DEFAULT_TEMPLATE])(
it.each([DEFAULT_TEMPLATE])(
`builds and zips the distribution files of an extension created via "$name" template`,
async (template) => {
const extensionPath = path.join(__dirname, 'fixtures', template.name)
Expand All @@ -94,7 +94,12 @@ describe('extension build', () => {
`builds and zips the source files of an extension created via "$name" template`,
async (template) => {
const extensionPath = path.join(__dirname, 'fixtures', template.name)
const outputPath = path.join(__dirname, 'fixtures', template.name, 'dist')
const outputPath = path.join(
__dirname,
'fixtures',
template.name,
'dist'
)

await extensionProgram(`build ${extensionPath} --zip-source`)

Expand All @@ -107,7 +112,7 @@ describe('extension build', () => {
50000
)

it.skip.each([DEFAULT_TEMPLATE])(
it.each([DEFAULT_TEMPLATE])(
`builds and zips the distribution files of an extension created via "$name" template with a custom output name using the --zip-filename flag`,
async (template) => {
const extensionPath = path.join(__dirname, 'fixtures', template.name)
Expand All @@ -117,7 +122,7 @@ describe('extension build', () => {
)

expect(
distFileExists(template.name, `${template.name}-nice.zip`)
distFileExists(template.name, BROWSERS[0], `${template.name}-nice.zip`)
).toBeTruthy()
},
50000
Expand Down

0 comments on commit 297e30e

Please sign in to comment.