mirror of
https://github.com/Azure/setup-kubectl.git
synced 2026-04-24 04:14:27 +00:00
Migrate to ESM with esbuild and vitest (#243)
Some checks failed
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Integration test for setup-kubectl / Validate release and master branch (push) Has been cancelled
Run prettify / Prettier Check (push) Has been cancelled
Run unit tests. / build (push) Has been cancelled
Some checks failed
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Integration test for setup-kubectl / Validate release and master branch (push) Has been cancelled
Run prettify / Prettier Check (push) Has been cancelled
Run unit tests. / build (push) Has been cancelled
* Migrate to ESM with esbuild, vitest and upgrade @actions/* to ESM-only versions * fix: update lockfile for npm ci compatibility --------- Co-authored-by: Suneha Bose <suneha.bose@gmail.com>
This commit is contained in:
parent
08845d9b5a
commit
5f8d8195ef
10 changed files with 1530 additions and 7248 deletions
10
vitest.config.ts
Normal file
10
vitest.config.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import {defineConfig} from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'node',
|
||||
include: ['**/*.test.ts'],
|
||||
clearMocks: true
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue