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

bug: add a test for 7134 a bug #7188

Open
wants to merge 4 commits into
base: build/v2
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix
JerryWu1234 committed Dec 21, 2024
commit 9f764c063da465aa591f65b320e18ba9dd9c71b4
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -235,7 +235,7 @@
"tsc.trace": "tsc -p tsconfig.json --traceResolution > tsc.log",
"tsc.watch": "tsc --noEmit --watch --preserveWatchOutput",
"update.qwik.builds": "tsx --require ./scripts/runBefore.ts scripts/update-qwik-builds.ts packages/docs && tsx scripts/update-qwik-builds.ts packages/insights; pnpm install",
"vitest": "vitest run use-task.spec.tsx"
"vitest": "vitest"
},
"simple-git-hooks": {
"pre-commit": "pnpm pretty-quick --staged"
4 changes: 2 additions & 2 deletions packages/qwik/src/core/tests/use-task.spec.tsx
Original file line number Diff line number Diff line change
@@ -14,11 +14,11 @@ import { ErrorProvider } from '../../testing/rendering.unit-util';
import { delay } from '../shared/utils/promises';
import { WrappedSignal } from '../signal/signal';

const debug = true; //true;
const debug = false; //true;
Error.stackTraceLimit = 100;

describe.each([
// { render: ssrRenderToDom }, //
{ render: ssrRenderToDom }, //
{ render: domRender }, //
])('$render.name: useTask', ({ render }) => {
it('should execute task', async () => {