chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { readFileSync } from "node:fs";
|
||||
import { test } from "vitest";
|
||||
|
||||
const loginSource = readFileSync(new URL("../bin/login.ts", import.meta.url), "utf8");
|
||||
|
||||
test("pinme login tracking sends login method through source", () => {
|
||||
assert.match(loginSource, /source:\s*['"]cli['"]/);
|
||||
});
|
||||
Reference in New Issue
Block a user