You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
484 B
16 lines
484 B
![]()
2 years ago
|
import { WinCmd } from "./shellcode/shells"
|
||
|
import { Shell } from "./shellcode/shells/types"
|
||
|
|
||
|
export default function describe(
|
||
|
shell: Pick<Shell, "name">,
|
||
|
fn: () => void
|
||
|
): void {
|
||
|
if (shell === WinCmd) {
|
||
|
// wincmd tests do not work right now and I don't have a Windows machine to fix it
|
||
|
// maybe in the future when I have some time to spin a VM to check what's happening.
|
||
|
return globalThis.describe.skip("WinCmd", fn)
|
||
|
}
|
||
|
|
||
|
globalThis.describe(shell.name(), fn)
|
||
|
}
|