Remove unused expected.json parsing.
This commit is contained in:
parent
f23dd3a04c
commit
aebebd3dde
@ -84,11 +84,11 @@ export default function get(entryLoc): Array<Suite> {
|
||||
|
||||
function push(taskName, taskDir) {
|
||||
const actualLocAlias = suiteName + "/" + taskName + "/actual.js";
|
||||
let expectLocAlias = suiteName + "/" + taskName + "/expected.js";
|
||||
const expectLocAlias = suiteName + "/" + taskName + "/expected.js";
|
||||
const execLocAlias = suiteName + "/" + taskName + "/exec.js";
|
||||
|
||||
const actualLoc = taskDir + "/actual.js";
|
||||
let expectLoc = taskDir + "/expected.js";
|
||||
const expectLoc = taskDir + "/expected.js";
|
||||
let execLoc = taskDir + "/exec.js";
|
||||
|
||||
if (fs.statSync(taskDir).isFile()) {
|
||||
@ -98,11 +98,6 @@ export default function get(entryLoc): Array<Suite> {
|
||||
execLoc = taskDir;
|
||||
}
|
||||
|
||||
if (resolve.relative(expectLoc + "on")) {
|
||||
expectLoc += "on";
|
||||
expectLocAlias += "on";
|
||||
}
|
||||
|
||||
const taskOpts = cloneDeep(suite.options);
|
||||
|
||||
const taskOptsLoc = resolve(taskDir + "/options");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user