Add more test case

This commit is contained in:
edison 2024-08-16 10:24:44 +08:00 committed by GitHub
parent e971797745
commit cb299290e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -410,6 +410,10 @@ describe('KeepAlive', () => {
await assertNameMatch({ include: 'one , two', exclude: 'two' })
})
test('include + exclude with space at both ends', async () => {
await assertNameMatch({ include: ' one , two ', exclude: ' two ' })
})
test('max', async () => {
const spyAC = vi.fn()
const spyBC = vi.fn()