mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-07-01 01:39:26 +08:00
Fix the major update packages including Jest. (#414)
Signed-off-by: Tatsat Mishra <tamishra@microsoft.com>
This commit is contained in:
@@ -63,7 +63,7 @@ describe('promote tests', () => {
|
||||
|
||||
await expect(
|
||||
promoteBlueGreenIngress(kubectl, testObjects)
|
||||
).rejects.toThrowError()
|
||||
).rejects.toThrow()
|
||||
})
|
||||
|
||||
test('promote blue/green service', async () => {
|
||||
@@ -102,7 +102,7 @@ describe('promote tests', () => {
|
||||
|
||||
await expect(
|
||||
promoteBlueGreenService(kubectl, testObjects)
|
||||
).rejects.toThrowError()
|
||||
).rejects.toThrow()
|
||||
})
|
||||
|
||||
test('promote blue/green SMI', async () => {
|
||||
@@ -153,6 +153,6 @@ describe('promote tests', () => {
|
||||
.spyOn(smiTester, 'validateTrafficSplitsState')
|
||||
.mockImplementation(() => Promise.resolve(false))
|
||||
|
||||
expect(promoteBlueGreenSMI(kubectl, testObjects)).rejects.toThrowError()
|
||||
expect(promoteBlueGreenSMI(kubectl, testObjects)).rejects.toThrow()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user