Skip to content

add test action

add test action #1

Re-run triggered July 19, 2024 13:07
Status Failure
Total duration 17s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors
error: expect(received).toBe(expected): tests/help.test.ts#L36
Expected: "\nUsage: localpen [options]\n\nOptions:\n -h, --help Show this help message\n -t, --template Specify a template to use\n -n, --no-code Don't open the project in VS Code\n\nDeletion options, pick either or get prompted:\n -k, --keep Keep the project folder\n -d, --delete Delete the project folder\n\nAvailable templates:\n - TypeScript/ts\n - JavaScript/js\n - Vite/v\n\nVite templates:\n - lit (-ts)\n - preact (-ts)\n - qwik (-ts)\n - react (-ts)\n - solid (-ts)\n - svelte (-ts)\n - vanilla (-ts)\n - vue (-ts)\n" Received: "" at /home/runner/work/localpen/localpen/tests/help.test.ts:36:15
error: expect(received).toContain(expected): tests/help.test.ts#L45
Expected to contain: "\nUsage: localpen [options]\n\nOptions:\n -h, --help Show this help message\n -t, --template Specify a template to use\n -n, --no-code Don't open the project in VS Code\n\nDeletion options, pick either or get prompted:\n -k, --keep Keep the project folder\n -d, --delete Delete the project folder\n\nAvailable templates:\n - TypeScript/ts\n - JavaScript/js\n - Vite/v\n\nVite templates:\n - lit (-ts)\n - preact (-ts)\n - qwik (-ts)\n - react (-ts)\n - solid (-ts)\n - svelte (-ts)\n - vanilla (-ts)\n - vue (-ts)\n" Received: "" at /home/runner/work/localpen/localpen/tests/help.test.ts:45:15
test
Process completed with exit code 1.