Reset cache for all tests
This commit is contained in:
@@ -2,6 +2,12 @@ import {Diagnostic, DiagnosticSeverity} from "vscode-languageserver-types";
|
||||
import {createDocument} from "./test-utils/document";
|
||||
import {validate} from "./validate";
|
||||
import {defaultValueProviders} from "./value-providers/default";
|
||||
import {clearParsedCache, clearWorkflowTemplateCache} from "./utils/workflow-cache";
|
||||
|
||||
beforeEach(() => {
|
||||
clearWorkflowTemplateCache();
|
||||
clearParsedCache();
|
||||
});
|
||||
|
||||
describe("validation", () => {
|
||||
it("valid workflow", async () => {
|
||||
|
||||
Reference in New Issue
Block a user