Skip to content

Commit

Permalink
Merge pull request #2703 from GingerPlusPlus/test-source
Browse files Browse the repository at this point in the history
Disallow tests to depend on build
  • Loading branch information
CrossEye committed Nov 21, 2018
2 parents 89f4540 + b61bcf2 commit 697f891
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions test/.eslintrc
@@ -0,0 +1,5 @@
{
"rules": {
"no-restricted-modules": ["error", ".."]
}
}
2 changes: 1 addition & 1 deletion test/composeWith.js
@@ -1,4 +1,4 @@
var R = require('..');
var R = require('../source');
var eq = require('./shared/eq');


Expand Down
2 changes: 1 addition & 1 deletion test/otherwise.js
@@ -1,6 +1,6 @@
var assert = require('assert');

var R = require('..');
var R = require('../source');
var eq = require('./shared/eq');


Expand Down
2 changes: 1 addition & 1 deletion test/pipeWith.js
@@ -1,4 +1,4 @@
var R = require('..');
var R = require('../source');
var eq = require('./shared/eq');


Expand Down
2 changes: 1 addition & 1 deletion test/then.js
@@ -1,6 +1,6 @@
var assert = require('assert');

var R = require('..');
var R = require('../source');
var eq = require('./shared/eq');


Expand Down

0 comments on commit 697f891

Please sign in to comment.