fix: only include frame-runner when running tests (#44337)
* fix: only include frame-runner when running tests * fix: handle missing options * test: use test runner for curriculum tests
This commit is contained in:
committed by
GitHub
parent
8372623f69
commit
a23a47750b
@ -570,11 +570,14 @@ async function createTestRunner(
|
||||
challengeFile.editableContents = solutionFile.editableContents;
|
||||
});
|
||||
|
||||
const { build, sources, loadEnzyme } = await buildChallenge({
|
||||
challengeFiles,
|
||||
required,
|
||||
template
|
||||
});
|
||||
const { build, sources, loadEnzyme } = await buildChallenge(
|
||||
{
|
||||
challengeFiles,
|
||||
required,
|
||||
template
|
||||
},
|
||||
{ usesTestRunner: true }
|
||||
);
|
||||
|
||||
const code = {
|
||||
contents: sources.index,
|
||||
|
Reference in New Issue
Block a user