Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8468cc

Browse files
committed
use es6 in tasks/test_mock.js
1 parent 6488c80 commit b8468cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tasks/test_mock.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
var minimist = require('minimist');
2-
var path = require('path');
3-
var fs = require('fs');
1+
import minimist from 'minimist';
2+
import path from 'path';
3+
import fs from 'fs';
44

5-
var plotlyNode = require('./util/plotly_node');
5+
import plotlyNode from './util/plotly_node.mjs';
66
var Plotly = plotlyNode('build/plotly.js');
77

88
var pathToRoot = path.join(__dirname, '..');

0 commit comments

Comments
 (0)