Files
freeCodeCamp/utils/__fixtures__/challenges.js
Oliver Eyton-Williams f613a1e5fd fix: index.css/js to styles/script (#44356)
* fix: replace index with script/styles as needed

* fix: remove redundant fileKey

It's overwritten by createPoly, so the parser does not need to create it

* fix: curriculum test suite

* Update client/src/templates/Challenges/classic/MultifileEditor.js

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-03 12:32:29 -08:00

51 lines
885 B
JavaScript

exports.challengeFiles = [
{
contents: 'some css',
error: null,
ext: 'css',
head: '',
history: ['styles.css'],
fileKey: 'stylescss',
name: 'styles',
path: 'styles.css',
seed: 'some css',
tail: ''
},
{
contents: 'some html',
error: null,
ext: 'html',
head: '',
history: ['index.html'],
fileKey: 'indexhtml',
name: 'index',
path: 'index.html',
seed: 'some html',
tail: ''
},
{
contents: 'some js',
error: null,
ext: 'js',
head: '',
history: ['script.js'],
fileKey: 'scriptjs',
name: 'script',
path: 'script.js',
seed: 'some js',
tail: ''
},
{
contents: 'some jsx',
error: null,
ext: 'jsx',
head: '',
history: ['index.jsx'],
fileKey: 'indexjsx',
name: 'index',
path: 'index.jsx',
seed: 'some jsx',
tail: ''
}
];