migrate control-plane to vitest

This commit is contained in:
uinstinct 2025-06-13 19:27:03 +05:30
parent 498e907788
commit 27c19aa6ce
3 changed files with 3 additions and 0 deletions

View file

@ -1,4 +1,5 @@
import * as crypto from "crypto";
import { expect, test } from "vitest";
import { LicenseKeyData, validateLicenseKey } from "./mdm";
// We'll create a real key pair once for all tests

View file

@ -36,5 +36,6 @@ export default {
"<rootDir>/config/yaml/LocalPlatformClient.test.ts",
"<rootDir>/autocomplete/",
"<rootDir>/commands/",
"<rootDir>/control-plane/",
],
};

View file

@ -14,6 +14,7 @@ export default defineConfig({
"config/yaml/LocalPlatformClient.test.ts",
"autocomplete/**/*.test.ts",
"commands/**/*.test.ts",
"control-plane/**/*.test.ts",
],
},
});