Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
boopathi committed Nov 8, 2017
1 parent fc82f05 commit 21e3e79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ lib/
scripts/benchmark_cache
smoke/assets
coverage
fixtures
1 change: 0 additions & 1 deletion utils/test-runner/src/fs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const fs = require("fs");
const path = require("path");
const promisify = require("util.promisify");

async function _readFile(p, enc) {
Expand Down
6 changes: 3 additions & 3 deletions utils/test-runner/src/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
const unpad = require("unpad");
/* eslint-disable no-console */

const fs = require("./fs");
const path = require("path");
const babel = require("babel-core");
const parseArgs = require("./argParser");

function testRunner(dir, pkg) {
function testRunner(dir) {
const pkgDir = path.join(dir, "../");
const packageJson = JSON.parse(
fs.readFileSync(path.join(pkgDir, "package.json"))
);
const pkgName = packageJson.name;

const testFile = path.join(pkgDir, "__tests__/index.js");
const fixturesDir = path.join(pkgDir, "__tests__/fixtures");

const fixtures = fs
Expand Down

0 comments on commit 21e3e79

Please sign in to comment.