Skip to content

Commit 766283b

Browse files
committed
remove only test
1 parent 91ce825 commit 766283b

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/Vitest.ReactTestingLibrary/Library.fs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,9 @@ type RTL =
339339
[<ImportMember("@testing-library/react")>]
340340
static member cleanup () : unit = jsNative
341341

342-
[<ImportMember("@testing-library/react")>]
343-
static member act (actFn: unit -> Promise<unit>) : Promise<unit> = jsNative
342+
// [<ImportMember("@testing-library/react")>]
343+
// [<Emit("$0")>]
344+
// static member act (actFn: unit -> Promise<unit>) : Promise<unit> = jsNative
344345

345346
[<ImportMember("@testing-library/react")>]
346-
static member act (actFn: unit -> unit) : Promise<unit> = jsNative
347+
static member act (actFn: unit -> unit) : unit = jsNative

tests/Feliz/ReactBindings.test.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ describe "useEffect" <| fun _ ->
214214
expect(dispose).toHaveBeenCalledTimes 1
215215
}
216216

217-
ftestPromise "IDisposable return calls Dispose() function" <| fun _ -> promise {
217+
testPromise "IDisposable return calls Dispose() function" <| fun _ -> promise {
218218
RTL.render (Components.EffectfulTimer())
219219
|> ignore
220220

0 commit comments

Comments
 (0)