Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: lint files after testing #315

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/addons/_tests/all-addons/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { setupTest } from '../_setup/suite.ts';
import { officialAddons } from '../../index.ts';
import type { AddonMap, OptionMap } from 'sv';
import { execSync } from 'node:child_process';

const windowsCI = process.env.CI && process.platform === 'win32';
const addons = officialAddons.reduce<AddonMap>((addonMap, addon) => {
Expand All @@ -26,5 +27,8 @@
// kill server process when we're done
ctx.onTestFinished(async () => await close());

// all files that we generated should be linted
expect(() => execSync('pnpm lint', { cwd, stdio: 'pipe' })).not.toThrowError();

Check failure on line 31 in packages/addons/_tests/all-addons/test.ts

View workflow job for this annotation

GitHub Actions / test (macOS-latest)

_tests/all-addons/test.ts > run all addons - kit-js

Error: expect(received).not.toThrowError() Error name: "Error" Error message: "Command failed: pnpm lint [warn] .prettierrc [warn] .storybook/main.js [warn] .storybook/preview.js [warn] drizzle.config.js [warn] eslint.config.js [warn] meta.json [warn] package.json [warn] playwright.config.js [warn] postcss.config.js [warn] project.inlang/settings.json [warn] src/app.css [warn] src/hooks.server.js [warn] src/lib/paraglide/messages.js [warn] src/lib/paraglide/messages/en.js [warn] src/lib/paraglide/runtime.js [warn] src/lib/server/db/schema.js [warn] src/routes/+layout.svelte [warn] src/routes/demo/lucia/+page.server.js [warn] src/routes/demo/lucia/+page.svelte [warn] src/routes/demo/lucia/login/+page.server.js [warn] src/routes/demo/lucia/login/+page.svelte [warn] src/routes/demo/paraglide/+page.svelte [warn] src/stories/button.css [warn] src/stories/Button.stories.svelte [warn] src/stories/Button.svelte [warn] src/stories/Configure.mdx [warn] src/stories/header.css [warn] src/stories/Header.stories.svelte [warn] src/stories/Header.svelte [warn] src/stories/page.css [warn] src/stories/Page.stories.svelte [warn] src/stories/Page.svelte [warn] svelte.config.js [warn] tailwind.config.js [warn] vite.config.js [warn] Code style issues found in 35 files. Run Prettier with --write to fix. " 29 | 30 | // all files that we generated should be linted > 31 | expect(() => execSync('pnpm lint', { cwd, stdio: 'pipe' })).not.toThrowError(); | ^ 32 | 33 | expect(true).toBe(true); 34 | }); at packages/addons/_tests/all-addons/test.ts:31:15 at Object.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165) at Object.o [as toThrowError] (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799) at Proxy.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37) at packages/addons/_tests/all-addons/test.ts:31:66 at file:/Users/runner/work/cli/cli/node_modules/.pnpm/@vitest+runner@2.1.4/node_modules/@vitest/runner/dist/index.js:533:5 at runTest (file:/Users/runner/work/cli/cli/node_modules/.pnpm/@vitest+runner@2.1.4/node_modules/@vitest/runner/dist/index.js:1048:11) ❯ _tests/all-addons/test.ts:31:15 ❯ Object.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165 ❯ Object.o [as toThrowError] ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).not.toThrowError()\n\nError name: "Error"\nError message: "Command failed: pnpm lint\n[warn] .prettierrc\n[warn] .storybook/main.js\n[warn] .storybook/preview.js\n[warn] drizzle.config.js\n[warn] eslint.config.js\n[warn] meta.json\n[warn] package.json\n[warn] playwright.config.js\n[warn] postcss.config.js\n[warn] project.inlang/settings.json\n[warn] src/app.css\n[warn] src/hooks.server.js\n[warn] src/lib/paraglide/messages.js\n[warn] src/lib/paraglide/messages/en.js\n[warn] src/lib/paraglide/runtime.js\n[warn] src/lib/server/db/schema.js\n[warn] src/routes/+layout.svelte\n[warn] src/routes/demo/lucia/+page.server.js\n[warn] src/routes/demo/lucia/+page.svelte\n[warn] src/routes/demo/lucia/login/+page.server.js\n[warn] src/routes/demo/lucia/login/+page.svelte\n[warn] src/routes/demo/paraglide/+page.svelte\n[warn] src/stories/button.css\n[warn] src/stories/Button.stories.svelte\n[warn] src/stories/Button.svelte\n[warn] src/stories/Configure.mdx\n[warn] src/stories/header.css\n[warn] src/stories/Header.stories.svelte\n[warn] src/stories/Header

Check failure on line 31 in packages/addons/_tests/all-addons/test.ts

View workflow job for this annotation

GitHub Actions / test (macOS-latest)

_tests/all-addons/test.ts > run all addons - kit-js

Error: expect(received).not.toThrowError() Error name: "Error" Error message: "Command failed: pnpm lint [warn] .prettierrc [warn] drizzle.config.js [warn] eslint.config.js [warn] meta.json [warn] package.json [warn] playwright.config.js [warn] postcss.config.js [warn] project.inlang/settings.json [warn] src/app.css [warn] src/hooks.server.js [warn] src/lib/paraglide/messages.js [warn] src/lib/paraglide/messages/en.js [warn] src/lib/paraglide/runtime.js [warn] src/lib/server/db/schema.js [warn] src/routes/+layout.svelte [warn] src/routes/demo/lucia/+page.server.js [warn] src/routes/demo/lucia/+page.svelte [warn] src/routes/demo/lucia/login/+page.server.js [warn] src/routes/demo/lucia/login/+page.svelte [warn] src/routes/demo/paraglide/+page.svelte [warn] src/stories/button.css [warn] src/stories/Button.stories.svelte [warn] src/stories/Button.svelte [warn] src/stories/Configure.mdx [warn] src/stories/header.css [warn] src/stories/Header.stories.svelte [warn] src/stories/Header.svelte [warn] src/stories/page.css [warn] src/stories/Page.stories.svelte [warn] src/stories/Page.svelte [warn] svelte.config.js [warn] tailwind.config.js [warn] vite.config.js [warn] Code style issues found in 33 files. Run Prettier with --write to fix. " 29 | 30 | // all files that we generated should be linted > 31 | expect(() => execSync('pnpm lint', { cwd, stdio: 'pipe' })).not.toThrowError(); | ^ 32 | 33 | expect(true).toBe(true); 34 | }); at packages/addons/_tests/all-addons/test.ts:31:15 at Object.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165) at Object.o [as toThrowError] (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799) at Proxy.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37) at packages/addons/_tests/all-addons/test.ts:31:66 ❯ _tests/all-addons/test.ts:31:15 ❯ Object.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165 ❯ Object.o [as toThrowError] ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).not.toThrowError()\n\nError name: "Error"\nError message: "Command failed: pnpm lint\n[warn] .prettierrc\n[warn] drizzle.config.js\n[warn] eslint.config.js\n[warn] meta.json\n[warn] package.json\n[warn] playwright.config.js\n[warn] postcss.config.js\n[warn] project.inlang/settings.json\n[warn] src/app.css\n[warn] src/hooks.server.js\n[warn] src/lib/paraglide/messages.js\n[warn] src/lib/paraglide/messages/en.js\n[warn] src/lib/paraglide/runtime.js\n[warn] src/lib/server/db/schema.js\n[warn] src/routes/+layout.svelte\n[warn] src/routes/demo/lucia/+page.server.js\n[warn] src/routes/demo/lucia/+page.svelte\n[warn] src/routes/demo/lucia/login/+page.server.js\n[warn] src/routes/demo/lucia/login/+page.svelte\n[warn] src/routes/demo/paraglide/+page.svelte\n[warn] src/stories/button.css\n[warn] src/stories/Button.stories.svelte\n[warn] src/stories/Button.svelte\n[warn] src/stories/Configure.mdx\n[warn] src/stories/header.css\n[warn] src/stories/Header.stories.svelte\n[warn] src/stories/Header.svelte\n[warn] src/stories/page.css\n[warn] src/stories/Page.stories.svelte\n[warn] src/stories/Page.svelte\n[warn] svelte.config.js\n[warn] tailwind.config.js\n[warn] vite.config.js\n[warn] Code style issues found in 33 files. Run Prettier with --write to fix.\n"\n\n \u001b[0m \u001b[90m 29 |\u001b[39m\n \u001b[90m 30 |\u001b[39m \t\u001b[90m// all files that we generate

Check failure on line 31 in packages/addons/_tests/all-addons/test.ts

View workflow job for this annotation

GitHub Actions / test (macOS-latest)

_tests/all-addons/test.ts > run all addons - kit-js

Error: expect(received).not.toThrowError() Error name: "Error" Error message: "Command failed: pnpm lint [warn] .prettierrc [warn] drizzle.config.js [warn] eslint.config.js [warn] meta.json [warn] package.json [warn] playwright.config.js [warn] postcss.config.js [warn] project.inlang/settings.json [warn] src/app.css [warn] src/hooks.server.js [warn] src/lib/paraglide/messages.js [warn] src/lib/paraglide/messages/en.js [warn] src/lib/paraglide/runtime.js [warn] src/lib/server/db/schema.js [warn] src/routes/+layout.svelte [warn] src/routes/demo/lucia/+page.server.js [warn] src/routes/demo/lucia/+page.svelte [warn] src/routes/demo/lucia/login/+page.server.js [warn] src/routes/demo/lucia/login/+page.svelte [warn] src/routes/demo/paraglide/+page.svelte [warn] src/stories/button.css [warn] src/stories/Button.stories.svelte [warn] src/stories/Button.svelte [warn] src/stories/Configure.mdx [warn] src/stories/header.css [warn] src/stories/Header.stories.svelte [warn] src/stories/Header.svelte [warn] src/stories/page.css [warn] src/stories/Page.stories.svelte [warn] src/stories/Page.svelte [warn] svelte.config.js [warn] tailwind.config.js [warn] vite.config.js [warn] Code style issues found in 33 files. Run Prettier with --write to fix. " 29 | 30 | // all files that we generated should be linted > 31 | expect(() => execSync('pnpm lint', { cwd, stdio: 'pipe' })).not.toThrowError(); | ^ 32 | 33 | expect(true).toBe(true); 34 | }); at packages/addons/_tests/all-addons/test.ts:31:15 at Object.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165) at Object.o [as toThrowError] (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799) at Proxy.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37) at packages/addons/_tests/all-addons/test.ts:31:66 at file:/Users/runner/work/cli/cli/node_modules/.pnpm/@vitest+runner@2.1.4/node_modules/@vitest/runner/dist/index.js:533:5 at runTest (file:/Users/runner/work/cli/cli/node_modules/.pnpm/@vitest+runner@2.1.4/node_modules/@vitest/runner/dist/index.js:1048:11) ❯ _tests/all-addons/test.ts:31:15 ❯ Object.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165 ❯ Object.o [as toThrowError] ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).not.toThrowError()\n\nError name: "Error"\nError message: "Command failed: pnpm lint\n[warn] .prettierrc\n[warn] drizzle.config.js\n[warn] eslint.config.js\n[warn] meta.json\n[warn] package.json\n[warn] playwright.config.js\n[warn] postcss.config.js\n[warn] project.inlang/settings.json\n[warn] src/app.css\n[warn] src/hooks.server.js\n[warn] src/lib/paraglide/messages.js\n[warn] src/lib/paraglide/messages/en.js\n[warn] src/lib/paraglide/runtime.js\n[warn] src/lib/server/db/schema.js\n[warn] src/routes/+layout.svelte\n[warn] src/routes/demo/lucia/+page.server.js\n[warn] src/routes/demo/lucia/+page.svelte\n[warn] src/routes/demo/lucia/login/+page.server.js\n[warn] src/routes/demo/lucia/login/+page.svelte\n[warn] src/routes/demo/paraglide/+page.svelte\n[warn] src/stories/button.css\n[warn] src/stories/Button.stories.svelte\n[warn] src/stories/Button.svelte\n[warn] src/stories/Configure.mdx\n[warn] src/stories/header.css\n[warn] src/stories/Header.stories.svelte\n[warn] src/stories/Header.svelte\n[warn] src/stories/page.css\n[warn] src/stories/Page.stories.svelte\n[warn] src/stories/Page.svelte\n[w

Check failure on line 31 in packages/addons/_tests/all-addons/test.ts

View workflow job for this annotation

GitHub Actions / test (macOS-latest)

_tests/all-addons/test.ts > run all addons - kit-js

Error: expect(received).not.toThrowError() Error name: "Error" Error message: "Command failed: pnpm lint [warn] .prettierrc [warn] drizzle.config.js [warn] eslint.config.js [warn] meta.json [warn] package.json [warn] playwright.config.js [warn] postcss.config.js [warn] project.inlang/settings.json [warn] src/app.css [warn] src/hooks.server.js [warn] src/lib/paraglide/messages.js [warn] src/lib/paraglide/messages/en.js [warn] src/lib/paraglide/runtime.js [warn] src/lib/server/db/schema.js [warn] src/routes/+layout.svelte [warn] src/routes/demo/lucia/+page.server.js [warn] src/routes/demo/lucia/+page.svelte [warn] src/routes/demo/lucia/login/+page.server.js [warn] src/routes/demo/lucia/login/+page.svelte [warn] src/routes/demo/paraglide/+page.svelte [warn] src/stories/button.css [warn] src/stories/Button.stories.svelte [warn] src/stories/Button.svelte [warn] src/stories/Configure.mdx [warn] src/stories/header.css [warn] src/stories/Header.stories.svelte [warn] src/stories/Header.svelte [warn] src/stories/page.css [warn] src/stories/Page.stories.svelte [warn] src/stories/Page.svelte [warn] svelte.config.js [warn] tailwind.config.js [warn] vite.config.js [warn] Code style issues found in 33 files. Run Prettier with --write to fix. " 29 | 30 | // all files that we generated should be linted > 31 | expect(() => execSync('pnpm lint', { cwd, stdio: 'pipe' })).not.toThrowError(); | ^ 32 | 33 | expect(true).toBe(true); 34 | }); at packages/addons/_tests/all-addons/test.ts:31:15 at Object.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165) at Object.o [as toThrowError] (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799) at Proxy.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37) at packages/addons/_tests/all-addons/test.ts:31:66 at file:/Users/runner/work/cli/cli/node_modules/.pnpm/@vitest+runner@2.1.4/node_modules/@vitest/runner/dist/index.js:533:5 at runTest (file:/Users/runner/work/cli/cli/node_modules/.pnpm/@vitest+runner@2.1.4/node_modules/@vitest/runner/dist/index.js:1048:11) ❯ _tests/all-addons/test.ts:31:15 ❯ Object.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165 ❯ Object.o [as toThrowError] ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).not.toThrowError()\n\nError name: "Error"\nError message: "Command failed: pnpm lint\n[warn] .prettierrc\n[warn] drizzle.config.js\n[warn] eslint.config.js\n[warn] meta.json\n[warn] package.json\n[warn] playwright.config.js\n[warn] postcss.config.js\n[warn] project.inlang/settings.json\n[warn] src/app.css\n[warn] src/hooks.server.js\n[warn] src/lib/paraglide/messages.js\n[warn] src/lib/paraglide/messages/en.js\n[warn] src/lib/paraglide/runtime.js\n[warn] src/lib/server/db/schema.js\n[warn] src/routes/+layout.svelte\n[warn] src/routes/demo/lucia/+page.server.js\n[warn] src/routes/demo/lucia/+page.svelte\n[warn] src/routes/demo/lucia/login/+page.server.js\n[warn] src/routes/demo/lucia/login/+page.svelte\n[warn] src/routes/demo/paraglide/+page.svelte\n[warn] src/stories/button.css\n[warn] src/stories/Button.stories.svelte\n[warn] src/stories/Button.svelte\n[warn] src/stories/Configure.mdx\n[warn] src/stories/header.css\n[warn] src/stories/Header.stories.svelte\n[warn] src/stories/Header.svelte\n[warn] src/stories/page.css\n[warn] src/stories/Page.stories.svelte\n[warn] src/stories/Page.svelte\n[w

Check failure on line 31 in packages/addons/_tests/all-addons/test.ts

View workflow job for this annotation

GitHub Actions / test (macOS-latest)

_tests/all-addons/test.ts > run all addons - kit-ts

Error: expect(received).not.toThrowError() Error name: "Error" Error message: "Command failed: pnpm lint [warn] .prettierrc [warn] .storybook/main.ts [warn] .storybook/preview.ts [warn] drizzle.config.ts [warn] eslint.config.js [warn] meta.json [warn] package.json [warn] playwright.config.ts [warn] postcss.config.js [warn] project.inlang/settings.json [warn] src/app.css [warn] src/app.d.ts [warn] src/hooks.server.ts [warn] src/lib/paraglide/messages.js [warn] src/lib/paraglide/messages/en.js [warn] src/lib/paraglide/runtime.js [warn] src/lib/server/db/schema.ts [warn] src/routes/+layout.svelte [warn] src/routes/demo/lucia/+page.server.ts [warn] src/routes/demo/lucia/+page.svelte [warn] src/routes/demo/lucia/login/+page.server.ts [warn] src/routes/demo/lucia/login/+page.svelte [warn] src/routes/demo/paraglide/+page.svelte [warn] src/stories/button.css [warn] src/stories/Button.stories.svelte [warn] src/stories/Button.svelte [warn] src/stories/Configure.mdx [warn] src/stories/header.css [warn] src/stories/Header.stories.svelte [warn] src/stories/Header.svelte [warn] src/stories/page.css [warn] src/stories/Page.stories.svelte [warn] src/stories/Page.svelte [warn] svelte.config.js [warn] tailwind.config.ts [warn] vite.config.ts [warn] Code style issues found in 36 files. Run Prettier with --write to fix. " 29 | 30 | // all files that we generated should be linted > 31 | expect(() => execSync('pnpm lint', { cwd, stdio: 'pipe' })).not.toThrowError(); | ^ 32 | 33 | expect(true).toBe(true); 34 | }); at packages/addons/_tests/all-addons/test.ts:31:15 at Object.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165) at Object.o [as toThrowError] (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799) at Proxy.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37) at packages/addons/_tests/all-addons/test.ts:31:66 ❯ _tests/all-addons/test.ts:31:15 ❯ Object.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165 ❯ Object.o [as toThrowError] ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).not.toThrowError()\n\nError name: "Error"\nError message: "Command failed: pnpm lint\n[warn] .prettierrc\n[warn] .storybook/main.ts\n[warn] .storybook/preview.ts\n[warn] drizzle.config.ts\n[warn] eslint.config.js\n[warn] meta.json\n[warn] package.json\n[warn] playwright.config.ts\n[warn] postcss.config.js\n[warn] project.inlang/settings.json\n[warn] src/app.css\n[warn] src/app.d.ts\n[warn] src/hooks.server.ts\n[warn] src/lib/paraglide/messages.js\n[warn] src/lib/paraglide/messages/en.js\n[warn] src/lib/paraglide/runtime.js\n[warn] src/lib/server/db/schema.ts\n[warn] src/routes/+layout.svelte\n[warn] src/routes/demo/lucia/+page.server.ts\n[warn] src/routes/demo/lucia/+page.svelte\n[warn] src/routes/demo/lucia/login/+page.server.ts\n[warn] src/routes/demo/lucia/login/+page.svelte\n[warn] src/routes/demo/paraglide/+page.svelte\n[warn] src/stories/button.css\n[warn] src/stories/Button.stories.svelte\n[warn] src/stories/Button.svelte\n[warn] src/stories/Configure.mdx\n[warn] src/stories/header.css\n[warn] src/stories/Header.stories.svelte\n[warn] src/stories/Header.svelte\n[warn] src/stories/page.css\n[warn] src/stories/Page.stories.svelte\n[warn] src/stories/Page.svelte\n[warn] svelte.config.js\n[warn] tailwind.config.ts\n[warn] vite.config.ts\n[warn] Code style issues found in 36 files.

Check failure on line 31 in packages/addons/_tests/all-addons/test.ts

View workflow job for this annotation

GitHub Actions / test (macOS-latest)

_tests/all-addons/test.ts > run all addons - kit-ts

Error: expect(received).not.toThrowError() Error name: "Error" Error message: "Command failed: pnpm lint [warn] .prettierrc [warn] drizzle.config.ts [warn] eslint.config.js [warn] meta.json [warn] package.json [warn] playwright.config.ts [warn] postcss.config.js [warn] project.inlang/settings.json [warn] src/app.css [warn] src/app.d.ts [warn] src/hooks.server.ts [warn] src/lib/paraglide/messages.js [warn] src/lib/paraglide/messages/en.js [warn] src/lib/paraglide/runtime.js [warn] src/lib/server/db/schema.ts [warn] src/routes/+layout.svelte [warn] src/routes/demo/lucia/+page.server.ts [warn] src/routes/demo/lucia/+page.svelte [warn] src/routes/demo/lucia/login/+page.server.ts [warn] src/routes/demo/lucia/login/+page.svelte [warn] src/routes/demo/paraglide/+page.svelte [warn] src/stories/button.css [warn] src/stories/Button.stories.svelte [warn] src/stories/Button.svelte [warn] src/stories/Configure.mdx [warn] src/stories/header.css [warn] src/stories/Header.stories.svelte [warn] src/stories/Header.svelte [warn] src/stories/page.css [warn] src/stories/Page.stories.svelte [warn] src/stories/Page.svelte [warn] svelte.config.js [warn] tailwind.config.ts [warn] vite.config.ts [warn] Code style issues found in 34 files. Run Prettier with --write to fix. " 29 | 30 | // all files that we generated should be linted > 31 | expect(() => execSync('pnpm lint', { cwd, stdio: 'pipe' })).not.toThrowError(); | ^ 32 | 33 | expect(true).toBe(true); 34 | }); at packages/addons/_tests/all-addons/test.ts:31:15 at Object.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165) at Object.o [as toThrowError] (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799) at Proxy.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37) at packages/addons/_tests/all-addons/test.ts:31:66 at file:/Users/runner/work/cli/cli/node_modules/.pnpm/@vitest+runner@2.1.4/node_modules/@vitest/runner/dist/index.js:533:5 at runTest (file:/Users/runner/work/cli/cli/node_modules/.pnpm/@vitest+runner@2.1.4/node_modules/@vitest/runner/dist/index.js:1048:11) ❯ _tests/all-addons/test.ts:31:15 ❯ Object.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165 ❯ Object.o [as toThrowError] ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).not.toThrowError()\n\nError name: "Error"\nError message: "Command failed: pnpm lint\n[warn] .prettierrc\n[warn] drizzle.config.ts\n[warn] eslint.config.js\n[warn] meta.json\n[warn] package.json\n[warn] playwright.config.ts\n[warn] postcss.config.js\n[warn] project.inlang/settings.json\n[warn] src/app.css\n[warn] src/app.d.ts\n[warn] src/hooks.server.ts\n[warn] src/lib/paraglide/messages.js\n[warn] src/lib/paraglide/messages/en.js\n[warn] src/lib/paraglide/runtime.js\n[warn] src/lib/server/db/schema.ts\n[warn] src/routes/+layout.svelte\n[warn] src/routes/demo/lucia/+page.server.ts\n[warn] src/routes/demo/lucia/+page.svelte\n[warn] src/routes/demo/lucia/login/+page.server.ts\n[warn] src/routes/demo/lucia/login/+page.svelte\n[warn] src/routes/demo/paraglide/+page.svelte\n[warn] src/stories/button.css\n[warn] src/stories/Button.stories.svelte\n[warn] src/stories/Button.svelte\n[warn] src/stories/Configure.mdx\n[warn] src/stories/header.css\n[warn] src/stories/Header.stories.svelte\n[warn] src/stories/Header.svelte\n[warn] src/stories/page.css\n[warn] src/stories/Page.stories.s

Check failure on line 31 in packages/addons/_tests/all-addons/test.ts

View workflow job for this annotation

GitHub Actions / test (macOS-latest)

_tests/all-addons/test.ts > run all addons - kit-ts

Error: expect(received).not.toThrowError() Error name: "Error" Error message: "Command failed: pnpm lint [warn] .prettierrc [warn] drizzle.config.ts [warn] eslint.config.js [warn] meta.json [warn] package.json [warn] playwright.config.ts [warn] postcss.config.js [warn] project.inlang/settings.json [warn] src/app.css [warn] src/app.d.ts [warn] src/hooks.server.ts [warn] src/lib/paraglide/messages.js [warn] src/lib/paraglide/messages/en.js [warn] src/lib/paraglide/runtime.js [warn] src/lib/server/db/schema.ts [warn] src/routes/+layout.svelte [warn] src/routes/demo/lucia/+page.server.ts [warn] src/routes/demo/lucia/+page.svelte [warn] src/routes/demo/lucia/login/+page.server.ts [warn] src/routes/demo/lucia/login/+page.svelte [warn] src/routes/demo/paraglide/+page.svelte [warn] src/stories/button.css [warn] src/stories/Button.stories.svelte [warn] src/stories/Button.svelte [warn] src/stories/Configure.mdx [warn] src/stories/header.css [warn] src/stories/Header.stories.svelte [warn] src/stories/Header.svelte [warn] src/stories/page.css [warn] src/stories/Page.stories.svelte [warn] src/stories/Page.svelte [warn] svelte.config.js [warn] tailwind.config.ts [warn] vite.config.ts [warn] Code style issues found in 34 files. Run Prettier with --write to fix. " 29 | 30 | // all files that we generated should be linted > 31 | expect(() => execSync('pnpm lint', { cwd, stdio: 'pipe' })).not.toThrowError(); | ^ 32 | 33 | expect(true).toBe(true); 34 | }); at packages/addons/_tests/all-addons/test.ts:31:15 at Object.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165) at Object.o [as toThrowError] (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799) at Proxy.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37) at packages/addons/_tests/all-addons/test.ts:31:66 ❯ _tests/all-addons/test.ts:31:15 ❯ Object.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165 ❯ Object.o [as toThrowError] ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).not.toThrowError()\n\nError name: "Error"\nError message: "Command failed: pnpm lint\n[warn] .prettierrc\n[warn] drizzle.config.ts\n[warn] eslint.config.js\n[warn] meta.json\n[warn] package.json\n[warn] playwright.config.ts\n[warn] postcss.config.js\n[warn] project.inlang/settings.json\n[warn] src/app.css\n[warn] src/app.d.ts\n[warn] src/hooks.server.ts\n[warn] src/lib/paraglide/messages.js\n[warn] src/lib/paraglide/messages/en.js\n[warn] src/lib/paraglide/runtime.js\n[warn] src/lib/server/db/schema.ts\n[warn] src/routes/+layout.svelte\n[warn] src/routes/demo/lucia/+page.server.ts\n[warn] src/routes/demo/lucia/+page.svelte\n[warn] src/routes/demo/lucia/login/+page.server.ts\n[warn] src/routes/demo/lucia/login/+page.svelte\n[warn] src/routes/demo/paraglide/+page.svelte\n[warn] src/stories/button.css\n[warn] src/stories/Button.stories.svelte\n[warn] src/stories/Button.svelte\n[warn] src/stories/Configure.mdx\n[warn] src/stories/header.css\n[warn] src/stories/Header.stories.svelte\n[warn] src/stories/Header.svelte\n[warn] src/stories/page.css\n[warn] src/stories/Page.stories.svelte\n[warn] src/stories/Page.svelte\n[warn] svelte.config.js\n[warn] tailwind.config.ts\n[warn] vite.config.ts\n[warn] Code style issues found in 34 files. Run Prettier with --write to fix.\n"\n\n \u001b[0m \u001b[90m 29 |\u001b[39m\n \u001b[90m 30 |\u001b[39m

Check failure on line 31 in packages/addons/_tests/all-addons/test.ts

View workflow job for this annotation

GitHub Actions / test (macOS-latest)

_tests/all-addons/test.ts > run all addons - kit-ts

Error: expect(received).not.toThrowError() Error name: "Error" Error message: "Command failed: pnpm lint [warn] .prettierrc [warn] drizzle.config.ts [warn] eslint.config.js [warn] meta.json [warn] package.json [warn] playwright.config.ts [warn] postcss.config.js [warn] project.inlang/settings.json [warn] src/app.css [warn] src/app.d.ts [warn] src/hooks.server.ts [warn] src/lib/paraglide/messages.js [warn] src/lib/paraglide/messages/en.js [warn] src/lib/paraglide/runtime.js [warn] src/lib/server/db/schema.ts [warn] src/routes/+layout.svelte [warn] src/routes/demo/lucia/+page.server.ts [warn] src/routes/demo/lucia/+page.svelte [warn] src/routes/demo/lucia/login/+page.server.ts [warn] src/routes/demo/lucia/login/+page.svelte [warn] src/routes/demo/paraglide/+page.svelte [warn] src/stories/button.css [warn] src/stories/Button.stories.svelte [warn] src/stories/Button.svelte [warn] src/stories/Configure.mdx [warn] src/stories/header.css [warn] src/stories/Header.stories.svelte [warn] src/stories/Header.svelte [warn] src/stories/page.css [warn] src/stories/Page.stories.svelte [warn] src/stories/Page.svelte [warn] svelte.config.js [warn] tailwind.config.ts [warn] vite.config.ts [warn] Code style issues found in 34 files. Run Prettier with --write to fix. " 29 | 30 | // all files that we generated should be linted > 31 | expect(() => execSync('pnpm lint', { cwd, stdio: 'pipe' })).not.toThrowError(); | ^ 32 | 33 | expect(true).toBe(true); 34 | }); at packages/addons/_tests/all-addons/test.ts:31:15 at Object.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165) at Object.o [as toThrowError] (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799) at Proxy.<anonymous> (node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37) at packages/addons/_tests/all-addons/test.ts:31:66 at file:/Users/runner/work/cli/cli/node_modules/.pnpm/@vitest+runner@2.1.4/node_modules/@vitest/runner/dist/index.js:533:5 at runTest (file:/Users/runner/work/cli/cli/node_modules/.pnpm/@vitest+runner@2.1.4/node_modules/@vitest/runner/dist/index.js:1048:11) ❯ _tests/all-addons/test.ts:31:15 ❯ Object.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:293:2165 ❯ Object.o [as toThrowError] ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/common/expectBundleImpl.js:338:799 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ❯ Proxy.<anonymous> ../../node_modules/.pnpm/playwright@1.48.2/node_modules/playwright/lib/matchers/expect.js:225:37 ❯ _tests/all-addons/test.ts:31:66 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).not.toThrowError()\n\nError name: "Error"\nError message: "Command failed: pnpm lint\n[warn] .prettierrc\n[warn] drizzle.config.ts\n[warn] eslint.config.js\n[warn] meta.json\n[warn] package.json\n[warn] playwright.config.ts\n[warn] postcss.config.js\n[warn] project.inlang/settings.json\n[warn] src/app.css\n[warn] src/app.d.ts\n[warn] src/hooks.server.ts\n[warn] src/lib/paraglide/messages.js\n[warn] src/lib/paraglide/messages/en.js\n[warn] src/lib/paraglide/runtime.js\n[warn] src/lib/server/db/schema.ts\n[warn] src/routes/+layout.svelte\n[warn] src/routes/demo/lucia/+page.server.ts\n[warn] src/routes/demo/lucia/+page.svelte\n[warn] src/routes/demo/lucia/login/+page.server.ts\n[warn] src/routes/demo/lucia/login/+page.svelte\n[warn] src/routes/demo/paraglide/+page.svelte\n[warn] src/stories/button.css\n[warn] src/stories/Button.stories.svelte\n[warn] src/stories/Button.svelte\n[warn] src/stories/Configure.mdx\n[warn] src/stories/header.css\n[warn] src/stories/Header.stories.svelte\n[warn] src/stories/Header.svelte\n[warn] src/stories/page.css\n[warn] src/stories/Page.stories.s

expect(true).toBe(true);
});
Loading