mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-10 09:02:08 +00:00
Separate e2e tests
This commit is contained in:
parent
95fc46d38d
commit
f0da2407f7
@ -3,7 +3,7 @@ import fs from 'fs';
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
import async from 'async';
|
import async from 'async';
|
||||||
|
|
||||||
import nativefier from './index';
|
import nativefier from '../src';
|
||||||
|
|
||||||
const PLATFORMS = ['darwin', 'linux'];
|
const PLATFORMS = ['darwin', 'linux'];
|
||||||
tmp.setGracefulCleanup();
|
tmp.setGracefulCleanup();
|
@ -1,4 +1,3 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
testMatch: ['**/src/**/?(*.)(test).js?(x)'],
|
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
};
|
};
|
||||||
|
@ -13,11 +13,12 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev-up": "npm install && (cd ./app && npm install) && npm run build",
|
"dev-up": "npm install && (cd ./app && npm install) && npm run build",
|
||||||
"dev-up-win": "npm install & cd app & npm install & cd .. & 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",
|
"tdd": "gulp tdd",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"lint:fix": "eslint . --fix",
|
"lint:fix": "eslint . --fix",
|
||||||
"ci": "npm run lint && npm test",
|
"ci": "npm run lint && npm test && npm run e2e",
|
||||||
"clean": "gulp clean",
|
"clean": "gulp clean",
|
||||||
"build": "gulp build",
|
"build": "gulp build",
|
||||||
"watch": "while true ; do gulp watch ; done",
|
"watch": "while true ; do gulp watch ; done",
|
||||||
|
Loading…
Reference in New Issue
Block a user