import * as core from "@testdeck/core" ; const jestRunner = { suite ( name , callback , settings ? ) { switch ( settings && settings . execution ) { case "only" : describe . only ( name , callback ) ; break ; case "skip" : describe . skip ( name , callback ) ; break ; case "pending" : describe . skip ( name , callback ) ; break ; default : describe ( name , callback ) ; } } , test ( name , callback , settings ? ) { switch ( settings && settings . execution ) { case "only" : it . only ( name , callback , settings && settings . timeout ) ; break ; case "skip" : it . skip ( name , callback , settings && settings . timeout ) ; break ; case "pending" : it . todo ( name ) ; break ; default : it ( name , callback , settings && settings . timeout ) ; } } , beforeAll ( name , callback , settings ? ) { beforeAll ( callback , settings && settings . timeout ) ; } , beforeEach ( name , callback , settings ? ) { beforeEach ( callback , settings && settings . timeout ) ; } , afterEach ( name , callback , settings ? ) { afterEach ( callback , settings && settings . timeout ) ; } , afterAll ( name , callback , settings ? ) { afterAll ( callback , settings && settings . timeout ) ; } } ; class JestClassTestUI extends core . ClassTestUI { public constructor ( runner = jestRunner ) { super ( runner ) ; } } const jestDecorators = new JestClassTestUI ( ) ; export const { suite , test , slow , timeout , retries , pending , only , skip , params } = jestDecorators ;