mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
refactor: migrate challenge parser tests to vitest (#62186)
This commit is contained in:
committed by
GitHub
parent
2590c1c820
commit
28411a2cec
@@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`process-frontmatter plugin should have an output to match the snapshot 1`] = `
|
||||
exports[`process-frontmatter plugin > should have an output to match the snapshot 1`] = `
|
||||
{
|
||||
"challengeType": 0,
|
||||
"forumTopicId": 18276,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`add-before-hook plugin should have an output to match the snapshot 1`] = `
|
||||
exports[`add-before-hook plugin > should have an output to match the snapshot 1`] = `
|
||||
{
|
||||
"hooks": {
|
||||
"beforeAll": "// before all code
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`add-quizzes plugin should match the quizzes snapshot 1`] = `
|
||||
exports[`add-quizzes plugin > should match the quizzes snapshot 1`] = `
|
||||
{
|
||||
"quizzes": [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`add-seed plugin should have an output to match the snapshot 1`] = `
|
||||
exports[`add-seed plugin > should have an output to match the snapshot 1`] = `
|
||||
{
|
||||
"challengeFiles": [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`add solution plugin should have an output to match the snapshot 1`] = `
|
||||
exports[`add solution plugin > should have an output to match the snapshot 1`] = `
|
||||
{
|
||||
"solutions": [
|
||||
[
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`add-tests plugin should have an output to match the snapshot 1`] = `
|
||||
exports[`add-tests plugin > should have an output to match the snapshot 1`] = `
|
||||
{
|
||||
"tests": [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`add-text should have an output to match the snapshot 1`] = `
|
||||
exports[`add-text > should have an output to match the snapshot 1`] = `
|
||||
{
|
||||
"description": "<section id="description">
|
||||
<p>Paragraph 1</p>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`add-video-question plugin should match the video snapshot 1`] = `
|
||||
exports[`add-video-question plugin > should match the video snapshot 1`] = `
|
||||
{
|
||||
"questions": [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`replace-imports should have an output to match the snapshot 1`] = `
|
||||
exports[`replace-imports > should have an output to match the snapshot 1`] = `
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user