feat(parser): handle multi-file solutions

This commit is contained in:
Oliver Eyton-Williams
2020-06-04 16:52:49 +02:00
committed by Mrugesh Mohapatra
parent a959d462e9
commit 063145fe90
4 changed files with 25 additions and 6 deletions

View File

@@ -1,8 +1,9 @@
/* global describe it expect beforeEach */
const mockAST = require('./fixtures/challenge-html-ast.json');
const challengeSeedToData = require('./challengeSeed-to-data');
const isArray = require('lodash/isArray');
const mockAST = require('./fixtures/challenge-html-ast.json');
const { challengeSeedToData } = require('./challengeSeed-to-data');
describe('challengeSeed-to-data plugin', () => {
const plugin = challengeSeedToData();
let file = { data: {} };