Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Make tests use dist version
Browse files Browse the repository at this point in the history
The removal of `install` dependencies is because we have a circular
relationship with "postinstall" calling "install". This is something
that should probably be fixed before releasing 4.8.0
  • Loading branch information
dmsnell committed Oct 22, 2015
1 parent 47ac806 commit 3078938
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ example-browser-cors: all
cd examples/browser-cors/; $(NPM) install
$(NODE) examples/browser-cors/index.js

test: install
test:
@$(MOCHA) \
--compilers js:babel/register \
--timeout 120s \
Expand All @@ -65,7 +65,7 @@ test: install
--bail \
--reporter spec

test-all: install
test-all:
@$(MOCHA) \
--compilers js:babel/register \
--timeout 120s \
Expand Down
2 changes: 1 addition & 1 deletion test/test.fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Module dependencies
*/

var WPCOM = require('../');
var WPCOM = require('../dist/');
var Site = require('../lib/site');
var assert = require('assert');

Expand Down

0 comments on commit 3078938

Please sign in to comment.