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

feat(test): add raw browser testing #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

douglasduteil
Copy link
Contributor

Following #46

I made a horrible hack that reinstall jspm@beta again... but it works :)
I'm a really open to any alternatives 馃檹

Cheers 馃嵑 @guybedford

@douglasduteil douglasduteil force-pushed the feat-test-add-raw-browser-testing branch from 2d886bc to 96b99a8 Compare May 30, 2016 16:19
@douglasduteil douglasduteil force-pushed the feat-test-add-raw-browser-testing branch from 96b99a8 to 8a7cc52 Compare May 30, 2016 16:21
@douglasduteil
Copy link
Contributor Author

It's a really naive approach 馃槉
I will obviously better to

  • not install jspm@beta 3 times (on the cli)
  • not install tape 2 times once with npm once with jspm

"clear": "rm -rf build-babel/node_modules build-babel/jspm_packages regenerator-runtime.js systemjs-babel-node.js systemjs-babel-browser.js",
"prepublish": "npm run build",
"preversion": "npm run test",
"test": "node test/index.js"
"test": "npm run test:node && npm run test:browser",
"test:node": "node test/index.js",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rather make this a jspm run test/index.js server test to avoid npm install tape?

@guybedford
Copy link
Member

To avoid installing jspm 3 times, we could just have it installed at the base-level node_modules for running both the build and tests.

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

Successfully merging this pull request may close these issues.

None yet

2 participants