1
0
Fork 0
mirror of synced 2024-06-11 23:15:07 +12:00
budibase/qa-core/src/internal-api/config/TestConfiguration.ts

26 lines
466 B
TypeScript
Raw Normal View History

import { BudibaseInternalAPI } from "../api"
import { BudibaseTestConfiguration } from "../../shared"
export default class TestConfiguration<T> extends BudibaseTestConfiguration {
// apis
api: BudibaseInternalAPI
// context
context: T
constructor() {
super()
// for brevity
this.api = this.internalApi
this.context = <T>{}
}
async beforeAll() {
await super.beforeAll()
}
async afterAll() {
await super.afterAll()
}
}