Resolve lint issues

This commit is contained in:
Andrew Sliwinski 2016-12-23 21:31:00 -05:00
parent dfc6614a5b
commit 7d5820585b
6 changed files with 15 additions and 11 deletions

View file

@ -1,9 +1,10 @@
var path = require('path');
var test = require('tap').test; var test = require('tap').test;
var extract = require('../fixtures/extract'); var extract = require('../fixtures/extract');
var VirtualMachine = require('../../src/index'); var VirtualMachine = require('../../src/index');
var path = __dirname + '/../fixtures/control.sb2'; var uri = path.resolve(__dirname, '../fixtures/control.sb2');
var project = extract(path); var project = extract(uri);
test('control project', function (t) { test('control project', function (t) {
var vm = new VirtualMachine(); var vm = new VirtualMachine();

View file

@ -1,9 +1,10 @@
var path = require('path');
var test = require('tap').test; var test = require('tap').test;
var extract = require('../fixtures/extract'); var extract = require('../fixtures/extract');
var VirtualMachine = require('../../src/index'); var VirtualMachine = require('../../src/index');
var path = __dirname + '/../fixtures/data.sb2'; var uri = path.resolve(__dirname, '../fixtures/data.sb2');
var project = extract(path); var project = extract(uri);
test('data project', function (t) { test('data project', function (t) {
var vm = new VirtualMachine(); var vm = new VirtualMachine();

View file

@ -1,9 +1,10 @@
var path = require('path');
var test = require('tap').test; var test = require('tap').test;
var extract = require('../fixtures/extract'); var extract = require('../fixtures/extract');
var VirtualMachine = require('../../src/index'); var VirtualMachine = require('../../src/index');
var path = __dirname + '/../fixtures/event.sb2'; var uri = path.resolve(__dirname, '../fixtures/event.sb2');
var project = extract(path); var project = extract(uri);
test('event project', function (t) { test('event project', function (t) {
var vm = new VirtualMachine(); var vm = new VirtualMachine();

View file

@ -1,9 +1,10 @@
var path = require('path');
var test = require('tap').test; var test = require('tap').test;
var extract = require('../fixtures/extract'); var extract = require('../fixtures/extract');
var VirtualMachine = require('../../src/index'); var VirtualMachine = require('../../src/index');
var path = __dirname + '/../fixtures/looks.sb2'; var uri = path.resolve(__dirname, '../fixtures/looks.sb2');
var project = extract(path); var project = extract(uri);
test('looks project', function (t) { test('looks project', function (t) {
var vm = new VirtualMachine(); var vm = new VirtualMachine();

View file

@ -1,9 +1,10 @@
var path = require('path');
var test = require('tap').test; var test = require('tap').test;
var extract = require('../fixtures/extract'); var extract = require('../fixtures/extract');
var VirtualMachine = require('../../src/index'); var VirtualMachine = require('../../src/index');
var path = __dirname + '/../fixtures/motion.sb2'; var uri = path.resolve(__dirname, '../fixtures/motion.sb2');
var project = extract(path); var project = extract(uri);
test('motion project', function (t) { test('motion project', function (t) {
var vm = new VirtualMachine(); var vm = new VirtualMachine();

View file

@ -1,4 +1,3 @@
var fs = require('fs');
var path = require('path'); var path = require('path');
var test = require('tap').test; var test = require('tap').test;
var extract = require('../fixtures/extract'); var extract = require('../fixtures/extract');