1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-04-21 05:01:31 +00:00

chore(sasjs-tests): use test framework in SASjs Tests

This commit is contained in:
Krishna Acondy
2020-07-22 19:42:34 +01:00
parent 9742f53dde
commit 69d088a9c6
21 changed files with 29 additions and 600 deletions
-15
View File
@@ -1,15 +0,0 @@
export interface Test {
title: string;
description: string;
beforeTest?: (...args: any) => Promise<any>;
afterTest?: (...args: any) => Promise<any>;
test: (context?: any) => Promise<any>;
assertion: (...args: any) => boolean;
}
export interface TestSuite {
name: string;
tests: Test[];
beforeAll?: (...args: any) => Promise<any>;
afterAll?: (...args: any) => Promise<any>;
}