Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829export function square(a: number, b: number) { return a * b}export async function asyncSquare(a: number, b: number) { const result = (await a) * b return result}export const someClasses = new (class Bar { public array: number[] constructor() { this.array = [1, 2, 3] }
foo() {}})()export const object = { baz: 'foo', bar: { fiz: 1, buzz: [1, 2, 3], },}export const array = [1, 2, 3]export const number = 123export const string = 'baz'export const boolean = trueexport const symbol = Symbol.for('a.b.c')export default 'a default'