Skip to content

Commit 5de450b

Browse files
committed
Fix up some paths
1 parent 264651f commit 5de450b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/intern.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,19 @@ define({
4141
// Configuration options for the module loader; any AMD configuration options supported by the specified AMD loader
4242
// can be used here
4343
loader: {
44+
baseUrl: typeof process === 'undefined' ?
45+
// if we are using the full path to rql, we assume we are running
46+
// in a sibling path configuration
47+
location.search.indexOf('config=rql') > -1 ? '../..' : '..' :
48+
'./node_modules',
4449
// Packages that should be registered with the loader in each testing environment
4550
packages: [
46-
{ name: 'rql', location: 'src/rql' }
51+
{ name: 'rql', location: 'rql' }
4752
]
4853
},
4954

5055
// Non-functional test suite(s) to run in each browser
51-
suites: [ 'test/all' ],
56+
suites: [ 'rql/test/all' ],
5257

5358
// A regular expression matching URLs to files that should not be included in code coverage analysis
5459
excludeInstrumentation: /^(?:test|node_modules)\//

0 commit comments

Comments
 (0)