Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Ludlow committed Jul 7, 2018
1 parent 3090463 commit 062a451
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

# dependencies
/node_modules
yarn.lock

# IDEs and editors
/.idea
Expand Down Expand Up @@ -35,24 +34,9 @@ yarn-error.log
testem.log
/typings

# e2e
/e2e/*.js
/e2e/*.map

# System Files
.DS_Store
Thumbs.db

# Generated output
/bundles/
/modal/
/autofocus/
/utils/
/ng2-bs3-modal.*
src/**/*.js
src/**/*.js.map
src/**.*.d.ts
**/*.ngfactory.ts
**/*.ngsummary.json
.idea/
*.tgz
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sudo: required
language: node_js
node_js:
- "8.9"
Expand Down
28 changes: 28 additions & 0 deletions e2e/protractor.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts

const { SpecReporter } = require('jasmine-spec-reporter');

exports.config = {
allScriptsTimeout: 11000,
specs: [
'./src/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
},
directConnect: true,
baseUrl: 'http://localhost:4200/',
framework: 'jasmine',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
print: function() {}
},
onPrepare() {
require('ts-node').register({
project: require('path').join(__dirname, './tsconfig.e2e.json')
});
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
}
};

0 comments on commit 062a451

Please sign in to comment.