forked from cujojs/rest
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuster.js
54 lines (51 loc) · 1.04 KB
/
buster.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* Copyright 2012-2013 the original author or authors
* @license MIT, see LICENSE.txt for details
*
* @author Scott Andrews
*/
var config = exports;
config['rest:node'] = {
environment: 'node',
rootPath: '../',
tests: [
'test/**/*-test.js',
'test/**/*-test-node.js'
],
testHelpers: ['test/failOnThrow.js']
};
config['rest:browser'] = {
environment: 'browser',
autoRun: false,
rootPath: '../',
resources: [
//'**', ** is busted in buster
'*.js',
'client/**/*.js',
'dojo/**/*.js',
'interceptor/**/*.js',
'mime/**/*.js',
'parsers/**/*.js',
'util/**/*.js',
'node_modules/curl/**/*.js',
'node_modules/dojo/**/*.js',
'node_modules/poly/**/*.js',
'node_modules/when/**/*.js',
'node_modules/wire/**/*.js',
'test/**/fixtures/**',
{ path: '/wait', backend: 'http://example.com' }
],
libs: [
'test/curl-config.js',
'node_modules/curl/src/curl.js'
],
sources: [
// loaded as resources
],
tests: [
'test/**/*-test.js',
'test/**/*-test-browser.js',
'test/run.js'
],
testHelpers: ['test/failOnThrow.js']
};