mirror of
https://github.com/glitternetwork/pinme.git
synced 2026-08-29 02:03:07 +08:00
ce345f46e4
- add Vitest, coverage, CLI, package, and mutation test commands - add GitHub Actions verify, mutation, and audit workflows - document testing policy and contributor commands - replace curl template download with streamed retryable axios helper - improve background install exit-code handling and tracker error reasons
10 lines
330 B
JavaScript
10 lines
330 B
JavaScript
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['"]/);
|
|
});
|