feat: test script and pre-request script wiring
This commit is contained in:
14
helpers/types/HoppTestResult.ts
Normal file
14
helpers/types/HoppTestResult.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export type HoppTestExpectResult =
|
||||
| { status: "pass" }
|
||||
| { status: "fail" | "error"; message: string }
|
||||
|
||||
export type HoppTestData = {
|
||||
description: string
|
||||
expectResults: HoppTestExpectResult[]
|
||||
tests: HoppTestData[]
|
||||
}
|
||||
|
||||
export type HoppTestResult = {
|
||||
tests: HoppTestData[]
|
||||
expectResults: HoppTestExpectResult[]
|
||||
}
|
||||
Reference in New Issue
Block a user