Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vscode. VS Code extension for Vitest vitest.dev/vscode
testing vitest vscode
Something went wrong. Try again.
12345678910111213141516171819import { describe, it } from 'vitest'
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms))
describe('console', () => { it('basic', () => { const variables = ['string', { hello: 'world' }, 1235, /regex/g, true, false, null] console.log(variables) })
it('async', async () => { console.log('1st') await sleep(200) console.log('2nd') await sleep(200) console.log('3rd') })})