Fix actions/tour
This commit is contained in:
15
node_modules/is-what/test/index.test.js
generated
vendored
Normal file
15
node_modules/is-what/test/index.test.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// @ts-check
|
||||
import {
|
||||
isBlob,
|
||||
isFile,
|
||||
} from '../dist/index.cjs'
|
||||
|
||||
test('isBlob', () => {
|
||||
expect(isBlob(Blob)).toBe(false)
|
||||
expect(isBlob(new Blob())).toBe(true)
|
||||
})
|
||||
|
||||
test('isFile', () => {
|
||||
expect(isFile(File)).toBe(false)
|
||||
expect(isFile(new File([''], '', { type: 'text/html' }))).toBe(true)
|
||||
})
|
||||
Reference in New Issue
Block a user