15 lines
493 B
TypeScript
15 lines
493 B
TypeScript
// @vitest-environment node
|
|
import { existsSync } from "node:fs";
|
|
import { dirname, join } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
const sdkPath = join(here, "..", "public", "embed", "marketing.js");
|
|
|
|
describe("retired marketing.js SDK", () => {
|
|
it("is no longer shipped as an active browser lead writer", () => {
|
|
expect(existsSync(sdkPath)).toBe(false);
|
|
});
|
|
});
|