UNPKG

dimple-js

Version:

Dimple is an object-oriented API allowing you to create flexible axis-based charts using [d3.js](http://d3js.org "d3.js").

26 lines (21 loc) 576 B
var tests = [], file; for (file in window.__karma__.files) { if (window.__karma__.files.hasOwnProperty(file)) { if (/\.spec\.js$/.test(file)) { tests.push(file); } } } requirejs.config({ // Karma serves files from '/base' baseUrl: '/base/src', paths: { 'dimple': '../tmp/dimple', 'd3': '../lib/d3.v3.4.8.min' }, // ask Require.js to load these files (all our tests) deps: tests, // start test run, once Require.js is done callback: window.__karma__.start });