Skip to content

Commit 8a09ac5

Browse files
shazzar00niCopilot
andauthored
Update src/test/workflow-validation.test.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e098385 commit 8a09ac5

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/test/workflow-validation.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,9 @@ describe('package-lock.json – picomatch dependency update', () => {
279279
expect(entry.version).toBe('4.0.4')
280280
})
281281

282-
it('picomatch should NOT be the vulnerable version 4.0.3', () => {
283-
expect(entry.version).not.toBe('4.0.3')
284-
})
285-
282+
it('picomatch should have a valid integrity hash', () => {
283+
expect(typeof entry.integrity).toBe('string')
284+
expect(entry.integrity).toContain('sha512-')
286285
it('picomatch should remain a devDependency', () => {
287286
expect(entry.dev).toBe(true)
288287
})

0 commit comments

Comments
 (0)