Skip to content

Commit

Permalink
Fix ALL_PASERS typo in run_spec (#1227)
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism authored and vjeux committed Apr 13, 2017
1 parent 27d827a commit 485028c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests_config/run_spec.js
Expand Up @@ -7,8 +7,8 @@ const parser = require("../src/parser");

const RUN_AST_TESTS = process.env["AST_COMPARE"];
const VERIFY_ALL_PARSERS = process.env["VERIFY_ALL_PARSERS"] || false;
const ALL_PASERS = process.env["ALL_PASERS"]
? JSON.parse(process.env["ALL_PASERS"])
const ALL_PARSERS = process.env["ALL_PARSERS"]
? JSON.parse(process.env["ALL_PARSERS"])
: ["flow", "babylon", "typescript"];

// Ignoring empty statements that are added into the output removes a
Expand Down Expand Up @@ -143,7 +143,7 @@ function mergeDefaultOptions(parserConfig) {

function getParsersToVerify(parser, additionalParsers) {
if (VERIFY_ALL_PARSERS) {
return ALL_PASERS.splice(ALL_PASERS.indexOf(parent), 1);
return ALL_PARSERS.splice(ALL_PARSERS.indexOf(parent), 1);
}
return additionalParsers;
}

0 comments on commit 485028c

Please sign in to comment.