0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-23 09:26:51 -05:00

move /tests to /test

This commit is contained in:
liabru 2015-08-04 20:25:20 +01:00
parent d40591033d
commit ad403aeeec
83 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ module.exports = function(grunt) {
options: { options: {
jshintrc: '.jshintrc' jshintrc: '.jshintrc'
}, },
all: ['src/**/*.js', 'demo/js/*.js', 'tests/browser/TestDemo.js', '!src/module/*'] all: ['src/**/*.js', 'demo/js/*.js', 'test/browser/TestDemo.js', '!src/module/*']
}, },
connect: { connect: {
watch: { watch: {
@ -117,7 +117,7 @@ module.exports = function(grunt) {
testDemo: { testDemo: {
command: function(arg) { command: function(arg) {
arg = arg ? ' --' + arg : ''; arg = arg ? ' --' + arg : '';
return 'phantomjs tests/browser/TestDemo.js' + arg; return 'phantomjs test/browser/TestDemo.js' + arg;
}, },
options: { options: {
execOptions: { execOptions: {

View file

@ -7,8 +7,8 @@ var system = require('system');
var demo, var demo,
frames = 10, frames = 10,
testUrl = 'http://localhost:9000/demo/dev.html', testUrl = 'http://localhost:9000/demo/dev.html',
refsPath = 'tests/browser/refs', refsPath = 'test/browser/refs',
diffsPath = 'tests/browser/diffs'; diffsPath = 'test/browser/diffs';
var update = arg('--update'), var update = arg('--update'),
updateAll = typeof arg('--updateAll') !== 'undefined', updateAll = typeof arg('--updateAll') !== 'undefined',