mirror of
https://github.com/imranismail/setup-kustomize.git
synced 2026-05-17 10:15:23 +00:00
Use Node 24 (#329)
* Use Node 24 * fix: update package lock with node v24 --------- Co-authored-by: imranismail <hey@imranismail.dev>
This commit is contained in:
@@ -35,6 +35,22 @@ describe('installer tests', () => {
|
||||
}
|
||||
})
|
||||
|
||||
it('Acquires kustomize version 5.8.1', async () => {
|
||||
await installer.getKustomize('5.8.1')
|
||||
const kustomizeDir = path.join(toolDir, 'kustomize', '5.8.1', os.arch())
|
||||
|
||||
expect(fs.existsSync(`${kustomizeDir}.complete`)).toBe(true)
|
||||
|
||||
if (IS_WINDOWS) {
|
||||
expect(fs.existsSync(path.join(kustomizeDir, 'kustomize.exe'))).toBe(true)
|
||||
} else {
|
||||
expect(fs.existsSync(path.join(kustomizeDir, 'kustomize'))).toBe(true)
|
||||
expect(() =>
|
||||
fs.accessSync(path.join(kustomizeDir, 'kustomize'), fs.constants.X_OK)
|
||||
).not.toThrow()
|
||||
}
|
||||
})
|
||||
|
||||
it('Acquires kustomize version 5.2.1', async () => {
|
||||
await installer.getKustomize('5.2.1')
|
||||
const kustomizeDir = path.join(toolDir, 'kustomize', '5.2.1', os.arch())
|
||||
|
||||
Reference in New Issue
Block a user