29 lines
739 B
JavaScript
29 lines
739 B
JavaScript
import path from "node:path";
|
|
import { root, run, troveBin } from "./suite.mjs";
|
|
const plugin = path.join(root, "curios/harmony-connector");
|
|
run(process.execPath, [path.join(plugin, "build.mjs")]);
|
|
run(
|
|
"cargo",
|
|
[
|
|
"test",
|
|
"--locked",
|
|
"--manifest-path",
|
|
path.join(plugin, "native/Cargo.toml"),
|
|
],
|
|
{
|
|
env: {
|
|
...process.env,
|
|
HARMONY_NATIVE_PREFIX: path.join(plugin, "dist/native-deps/install"),
|
|
MACOSX_DEPLOYMENT_TARGET: "13.0",
|
|
},
|
|
},
|
|
);
|
|
run(process.execPath, ["--test", path.join(plugin, "ui/format.test.js")]);
|
|
run(troveBin, [
|
|
"protocol",
|
|
"test",
|
|
"--command",
|
|
path.join(plugin, "backend/harmony-connector"),
|
|
]);
|
|
run(path.join(plugin, "backend/harmony-connector"), ["--diagnose"]);
|