Upgrade Ava to v4
This commit is contained in:
parent
9a40cc5274
commit
ce89f1b611
1153 changed files with 27264 additions and 95308 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import * as github from "@actions/github";
|
||||
import { TestInterface } from "ava";
|
||||
import { TestFn } from "ava";
|
||||
import * as sinon from "sinon";
|
||||
|
||||
import * as apiClient from "./api-client";
|
||||
|
|
@ -46,8 +46,8 @@ function wrapOutput(context: TestContext) {
|
|||
};
|
||||
}
|
||||
|
||||
export function setupTests(test: TestInterface<any>) {
|
||||
const typedTest = test as TestInterface<TestContext>;
|
||||
export function setupTests(test: TestFn<any>) {
|
||||
const typedTest = test as TestFn<TestContext>;
|
||||
|
||||
typedTest.beforeEach((t) => {
|
||||
// Set an empty CodeQL object so that all method calls will fail
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue