UNPKG
lean4-code-actions
Version:
latest (1.1.32)
1.1.32
Refactorings and snippets for Lean 4
lean4-code-actions
/
libs
/
utils
/
jest
/
testFun.ts
8 lines
(5 loc)
•
263 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
/* eslint-disable @typescript-eslint/ban-types */
import
{ test } from
'@jest/globals'
import
{ Circus } from
'@jest/types'
export
const
testFun = (
func
:
Circus
.
TestFn
) =>
test
(
func
.name,
func
)
testFun.skip = (
func
:
Circus
.
TestFn
) =>
test
.
skip
(
func
.name,
func
)