import { getTestSuiteInstance } from './utils' ; /**
 * method which is executed after all the tests were ran.
 */ export function AfterAll ( ) { return ( target , key , descriptor ) => { getTestSuiteInstance ( target ) . afterAllMethods . push ( descriptor . value ) ; } ; } /**
 * method which is executed after each test is ran.
 */ export function AfterEach ( ) { return ( target , key , descriptor ) => { getTestSuiteInstance ( target ) . afterEachMethods . push ( descriptor . value ) ; } ; } /**
 * method which is executed before all the tests are ran.
 */ export function BeforeAll ( ) { return ( target , key , descriptor ) => { getTestSuiteInstance ( target ) . beforeAllMethods . push ( descriptor . value ) ; } ; } /**
 * method which is executed before each test is ran.
 */ export function BeforeEach ( ) { return ( target , key , descriptor ) => { getTestSuiteInstance ( target ) . beforeEachMethods . push ( descriptor . value ) ; } ; } deprecated export function afterAll ( ) { return AfterAll ( ) ; } deprecated export function afterEach ( ) { return AfterEach ( ) ; } deprecated export function beforeAll ( ) { return BeforeAll ( ) ; } deprecated export function beforeEach ( ) { return BeforeEach ( ) ; }