Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running tests once #210

Closed
mebibou opened this issue Jan 16, 2017 · 1 comment
Closed

Running tests once #210

mebibou opened this issue Jan 16, 2017 · 1 comment

Comments

@mebibou
Copy link

mebibou commented Jan 16, 2017

When running the tests once without modifying the app src files, we could serve the files statically so that we wouldn't have to do ionic serve, something like this in protractor.conf.js:

  beforeLaunch: function() {
    require('ts-node').register({
      project: 'e2e'
    });

    require('connect')().use(require('serve-static')('www')).listen(8100, function() {
      console.log('Ionic App ready');
    });
  }
@lathonez
Copy link
Owner

lathonez commented Jan 16, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants