File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 1- import { File as NativeFile , Blob as NativeBlob } from "node:buffer"
2-
31import test from "ava"
42
53import { File , Blob } from "formdata-node"
@@ -13,12 +11,6 @@ test("Returns true for a File", t => {
1311 t . true ( isFile ( file ) )
1412} )
1513
16- test ( "Returns true for native File" , t => {
17- const file = new NativeFile ( [ "Content" ] , "name.txt" )
18-
19- t . true ( isFile ( file ) )
20- } )
21-
2214test ( "Returns true for a class that implements File" , t => {
2315 class MyFile implements FileLike {
2416 name = ""
@@ -80,9 +72,3 @@ test("Returns false for Blob", t => {
8072
8173 t . false ( isFile ( blob ) )
8274} )
83-
84- test ( "Returns false for native Blob" , t => {
85- const blob = new NativeBlob ( [ "Content" ] , { type : "text/plain" } )
86-
87- t . false ( isFile ( blob ) )
88- } )
You can’t perform that action at this time.
0 commit comments