Skip to content

Commit 400f82b

Browse files
committed
test: add test for version validation when angular deps are missing
1 parent 3ca0d57 commit 400f82b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integration.test.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,8 @@ test('checks version for angular 17', async () => {
8080
const result = await validateAngularVersion('tests/fixtures/angular-17')
8181
assert.strictEqual(result, true)
8282
})
83+
84+
test('fails angular version validation when angular dependencies are missing', async () => {
85+
const result = await validateAngularVersion('missing-angular-deps')
86+
assert.strictEqual(result, false)
87+
})

0 commit comments

Comments
 (0)