Skip to content

Commit

Permalink
fix: webpack unit test to use vite
Browse files Browse the repository at this point in the history
  • Loading branch information
romeodemeteriojr committed Aug 5, 2024
1 parent eede77d commit e5c81cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/zcli-apps/tests/functional/new.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ describe('apps new', () => {
await cleanDirectory(dirPath)
})

test.it('should create a directory with webpack configs', async () => {
const webpackPath = path.join(process.cwd(), dirName, 'webpack')
expect(fs.existsSync(webpackPath)).to.eq(true)
test.it('should create a vite config file', async () => {
const viteConfigPath = path.join(process.cwd(), dirName, 'vite.config.js')
expect(fs.existsSync(viteConfigPath)).to.eq(true)
})

test.it('updates manifest.json with user input values', async () => {
Expand Down

0 comments on commit e5c81cf

Please sign in to comment.