Reset cache for all tests
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
import {createDocument} from "./test-utils/document";
|
||||
import {testFileProvider} from "./test-utils/test-file-provider";
|
||||
import {clearParsedCache, clearWorkflowTemplateCache} from "./utils/workflow-cache";
|
||||
import {validate} from "./validate";
|
||||
|
||||
beforeEach(() => {
|
||||
clearWorkflowTemplateCache();
|
||||
clearParsedCache();
|
||||
});
|
||||
|
||||
describe("workflow references validation", () => {
|
||||
it("invalid workflow reference", async () => {
|
||||
const input = `
|
||||
|
||||
Reference in New Issue
Block a user