TestyTs
TestyTs copied to clipboard
Error handling for suit visitor
Hi,
Please add error handling for @BeforeAll
, @AfterAll
, @BeforeEach
, @AfterEach
methods
Version: 2.0.0-beta.7
ex:
@TestSuite()
export class TestSuit {
@BeforeAll()
async beforeAll() {
throw new Error('Some error');
}
@Test()
public test() {
ok(true);
}
}
The output is:
Root TestSuit Summary: 0/1 passed, 1/1 failed, 0/1 skipped. (0s)
There are any info about the exception