mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Enable imports for tests (#6997)
This commit is contained in:
parent
b05699eec5
commit
14df2c6722
@ -59,6 +59,7 @@ module.exports = function(karma) {
|
||||
].concat((args.inputs || 'test/specs/**/*.js').split(';')),
|
||||
|
||||
preprocessors: {
|
||||
'test/specs/**/*.js': ['rollup'],
|
||||
'test/index.js': ['rollup'],
|
||||
'src/index.js': ['sources']
|
||||
},
|
||||
|
@ -1,8 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
import * as math from '../../src/helpers/helpers.math';
|
||||
|
||||
describe('Chart.helpers.math', function() {
|
||||
var math = Chart.helpers.math;
|
||||
var factorize = math._factorize;
|
||||
var decimalPlaces = math._decimalPlaces;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user