Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vscode. VS Code extension for Vitest vitest.dev/vscode
Something went wrong. Try again.
12345678910export def add(...args) return args.reduce((do(a, b) a + b), 0)
if import.meta.vitest const {it, expect} = import.meta.vitest it "adds from in-source tests", do expect(add()).toBe 0 expect(add(1)).toBe 1 expect(add(1, 2, 3)).toBe 6