Files
2026-10-14 06:19:24 +00:00

147 lines
5.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
> find-word@0.1.0 test
> vitest run tests/release.test.ts tests/build.test.ts
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.1
❯ tests/release.test.ts (3 tests | 2 failed) 23ms
❯ 릴리스 문서 계약 (3)
× 프로젝트는 비공개 권리 유보이며 저장소 주소를 명시한다 18ms
× 잠금 파일의 모든 런타임 의존성 notice 전문을 배포용 사본에 보존한다 1ms
❯ tests/build.test.ts (3 tests | 2 failed) 582ms
❯ production 자산 검증기 (3)
× dist의 런타임 notice 누락을 실패시킨다 192ms
× dist의 런타임 notice 축약을 실패시킨다 192ms
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 4 ⎯⎯⎯⎯⎯⎯⎯
FAIL tests/build.test.ts > production 자산 검증기 > dist의 런타임 notice 누락을 실패시킨다
FAIL tests/build.test.ts > production 자산 검증기 > dist의 런타임 notice 축약을 실패시킨다
AssertionError: expected [Function verify] to throw an error
- Expected:
null
+ Received:
undefined
❯ tests/build.test.ts:47:22
45| if (damage === "누락") rmSync(notice, { force: true });
46| else writeFileSync(notice, "React / ReactDOM / scheduler — MIT L…
47| expect(verify).toThrow(/notice/i);
| ^
48| } finally {
49| rmSync(temporary, { recursive: true, force: true });
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/8]⎯
FAIL tests/release.test.ts > 릴리스 문서 계약 > 프로젝트는 비공개 권리 유보이며 저장소 주소를 명시한다
AssertionError: expected undefined to be 'UNLICENSED' // Object.is equality
- Expected:
"UNLICENSED"
+ Received:
undefined
❯ tests/release.test.ts:12:35
10| const lock = JSON.parse(readFileSync("package-lock.json", "utf8"));
11| expect.soft(metadata.private).toBe(true);
12| expect.soft(metadata.license).toBe("UNLICENSED");
| ^
13| expect.soft(lock.packages[""].license).toBe("UNLICENSED");
14| expect.soft(metadata.repository).toEqual({
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/8]⎯
FAIL tests/release.test.ts > 릴리스 문서 계약 > 프로젝트는 비공개 권리 유보이며 저장소 주소를 명시한다
AssertionError: expected undefined to be 'UNLICENSED' // Object.is equality
- Expected:
"UNLICENSED"
+ Received:
undefined
❯ tests/release.test.ts:13:44
11| expect.soft(metadata.private).toBe(true);
12| expect.soft(metadata.license).toBe("UNLICENSED");
13| expect.soft(lock.packages[""].license).toBe("UNLICENSED");
| ^
14| expect.soft(metadata.repository).toEqual({
15| type: "git",
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/8]⎯
FAIL tests/release.test.ts > 릴리스 문서 계약 > 프로젝트는 비공개 권리 유보이며 저장소 주소를 명시한다
AssertionError: expected undefined to deeply equal { type: 'git', …(1) }
- Expected:
{
"type": "git",
"url": "https://source.ibit.kr/OZ-Group/Find-Word.git",
}
+ Received:
undefined
❯ tests/release.test.ts:14:38
12| expect.soft(metadata.license).toBe("UNLICENSED");
13| expect.soft(lock.packages[""].license).toBe("UNLICENSED");
14| expect.soft(metadata.repository).toEqual({
| ^
15| type: "git",
16| url: "https://source.ibit.kr/OZ-Group/Find-Word.git",
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/8]⎯
FAIL tests/release.test.ts > 릴리스 문서 계약 > 프로젝트는 비공개 권리 유보이며 저장소 주소를 명시한다
AssertionError: expected undefined to be 'https://source.ibit.kr/OZ-Group/Find-…' // Object.is equality
- Expected:
"https://source.ibit.kr/OZ-Group/Find-Word"
+ Received:
undefined
❯ tests/release.test.ts:18:36
16| url: "https://source.ibit.kr/OZ-Group/Find-Word.git",
17| });
18| expect.soft(metadata.homepage).toBe("https://source.ibit.kr/OZ-Gro…
| ^
19| const license = readFileSync("LICENSE", "utf8");
20| expect(license).toMatch(/private/i);
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[5/8]⎯
FAIL tests/release.test.ts > 릴리스 문서 계약 > 프로젝트는 비공개 권리 유보이며 저장소 주소를 명시한다
Error: ENOENT: no such file or directory, open 'LICENSE'
❯ tests/release.test.ts:19:21
17| });
18| expect.soft(metadata.homepage).toBe("https://source.ibit.kr/OZ-Gro…
19| const license = readFileSync("LICENSE", "utf8");
| ^
20| expect(license).toMatch(/private/i);
21| expect(license).toContain("All rights reserved.");
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[6/8]⎯
FAIL tests/release.test.ts > 릴리스 문서 계약 > 잠금 파일의 모든 런타임 의존성 notice 전문을 배포용 사본에 보존한다
Error: ENOENT: no such file or directory, open 'THIRD_PARTY_NOTICES.md'
❯ tests/release.test.ts:28:20
26| packages: Record<string, { dev?: boolean; version: string }>;
27| };
28| const notice = readFileSync("THIRD_PARTY_NOTICES.md", "utf8");
| ^
29| expect(readFileSync("public/THIRD_PARTY_NOTICES.md", "utf8")).toBe…
30| for (const [path, pkg] of Object.entries(lock.packages)) {
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[7/8]⎯
Test Files 2 failed (2)
Tests 4 failed | 2 passed (6)
Start at 05:51:01
Duration 884ms (tests 66%, setup 26%, transform 6%, import 1%, worker 1%)