Jest to Vitest migration (#230)
* working without clean up * clean up dependencies * use test not dev * add tests for kclErrToDiagnostic * remove jest config * remove unneeded @ts-ignore
This commit is contained in:
@ -5,6 +5,7 @@ import { lexer } from './tokeniser'
|
||||
import { ProgramMemory, Path, SketchGroup } from './executor'
|
||||
import { initPromise } from './rust'
|
||||
import { enginelessExecutor } from '../lib/testHelpers'
|
||||
import { vi } from 'vitest'
|
||||
|
||||
beforeAll(() => initPromise)
|
||||
|
||||
@ -36,7 +37,7 @@ log(5, myVar)`
|
||||
const programMemoryOverride: ProgramMemory['root'] = {
|
||||
log: {
|
||||
type: 'userVal',
|
||||
value: jest.fn(),
|
||||
value: vi.fn(),
|
||||
__meta: [
|
||||
{
|
||||
sourceRange: [0, 0],
|
||||
|
Reference in New Issue
Block a user