Skip to content

Commit 0dd5098

Browse files
Jimmy ByrdTheAngryByrd
authored andcommitted
Fable.Mocha doesn't know about ptestList
1 parent a7bd132 commit 0dd5098

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/FsToolkit.ErrorHandling.Tests/AsyncResultCE.fs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,11 @@ let ``AsyncResultCE applicative tests`` =
413413
}
414414
]
415415

416+
416417
let ``AsyncResultCE Stack Trace Tests`` =
417418

419+
420+
418421
let failureAsync = async {
419422
failwith "Intentional failure"
420423
return ()
@@ -437,6 +440,7 @@ let ``AsyncResultCE Stack Trace Tests`` =
437440
return 42
438441
}
439442

443+
#if !FABLE_COMPILER
440444
// These are intentionally marked as pending
441445
// This is useful for reviewing stacktrack traces but asserting against them is very brittle
442446
// I'm open to suggestions around Assertions
@@ -449,9 +453,14 @@ let ``AsyncResultCE Stack Trace Tests`` =
449453
let! r = mainExeuctorAsyncResult ()
450454
()
451455
}
456+
452457

453458
]
454459

460+
#else
461+
testList "AsyncResultCE Stack Trace Tests" []
462+
463+
#endif
455464

456465
let allTests = testList "AsyncResultCETests" [
457466
``AsyncResultCE return Tests``

0 commit comments

Comments
 (0)