Ng not ejected anymore
This commit is contained in:
@@ -5,7 +5,6 @@ const { SpecReporter } = require('jasmine-spec-reporter');
|
||||
|
||||
exports.config = {
|
||||
allScriptsTimeout: 25000,
|
||||
getPageTimeout: 15000,
|
||||
delayBrowserTimeInSeconds: 0,
|
||||
specs: [
|
||||
'./e2e/**/*.e2e-spec.ts'
|
||||
@@ -13,18 +12,20 @@ exports.config = {
|
||||
capabilities: {
|
||||
'browserName': 'chrome',
|
||||
chromeOptions: {
|
||||
binary: './node_modules/electron/dist/electron.exe',
|
||||
args: ['--test-type=webdriver', 'app=dist/main.js']
|
||||
args: ["--no-sandbox", "--headless", "--disable-gpu"]
|
||||
}
|
||||
},
|
||||
chromeOnly: true,
|
||||
directConnect: true,
|
||||
baseUrl: 'http://localhost:4200/',
|
||||
framework: 'jasmine2',
|
||||
jasmineNodeOpts: {
|
||||
showColors: true,
|
||||
defaultTimeoutInterval: 30000,
|
||||
print: function () { }
|
||||
print: function () { },
|
||||
realtimeFailure: true
|
||||
},
|
||||
useAllAngular2AppRoots: true,
|
||||
beforeLaunch: function () {
|
||||
require('ts-node').register({
|
||||
project: 'e2e/tsconfig.e2e.json'
|
||||
|
||||
Reference in New Issue
Block a user