refactor: migrate challenge parser tests to vitest (#62186)

This commit is contained in:
Oliver Eyton-Williams
2025-09-12 18:50:02 +02:00
committed by GitHub
parent 2590c1c820
commit 28411a2cec
36 changed files with 257 additions and 288 deletions

View File

@@ -1,6 +1,7 @@
const { isObject } = require('lodash');
const parseFixture = require('../__fixtures__/parse-fixture');
const addSolution = require('./add-solution');
import { describe, beforeAll, beforeEach, it, expect } from 'vitest';
import { isObject } from 'lodash';
import parseFixture from '../__fixtures__/parse-fixture';
import addSolution from './add-solution';
describe('add solution plugin', () => {
let mockAST, multiSolnsAST, editableSolutionAST;