Separate e2e tests

This commit is contained in:
Goh Jia Hao 2018-05-24 00:12:22 -07:00
parent 95fc46d38d
commit f0da2407f7
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ import fs from 'fs';
import path from 'path';
import async from 'async';
import nativefier from './index';
import nativefier from '../src';
const PLATFORMS = ['darwin', 'linux'];
tmp.setGracefulCleanup();

View File

@ -1,4 +1,3 @@
module.exports = {
testMatch: ['**/src/**/?(*.)(test).js?(x)'],
testEnvironment: 'node',
};

View File

@ -13,11 +13,12 @@
"scripts": {
"dev-up": "npm install && (cd ./app && npm install) && npm run build",
"dev-up-win": "npm install & cd app & npm install & cd .. & npm run build",
"test": "jest",
"test": "jest src",
"e2e": "jest e2e",
"tdd": "gulp tdd",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"ci": "npm run lint && npm test",
"ci": "npm run lint && npm test && npm run e2e",
"clean": "gulp clean",
"build": "gulp build",
"watch": "while true ; do gulp watch ; done",