diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-03-08 15:22:27 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-03-08 16:53:01 +0200 |
commit | c6598fc5da063f9b60204639cd619647cbbc89da (patch) | |
tree | 7f86fe914cec9a97205583e15c3f4e4c7ef74390 /platform/node/test/js/map.test.js | |
parent | 79f3307c4be67ee1f9be1e90e4d5d2031e27ab8e (diff) | |
download | qtlocation-mapboxgl-c6598fc5da063f9b60204639cd619647cbbc89da.tar.gz |
[core] Use ES6 import / export syntax for node test harness
Diffstat (limited to 'platform/node/test/js/map.test.js')
-rw-r--r-- | platform/node/test/js/map.test.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/node/test/js/map.test.js b/platform/node/test/js/map.test.js index b21c1519e3..a1290ca761 100644 --- a/platform/node/test/js/map.test.js +++ b/platform/node/test/js/map.test.js @@ -1,10 +1,10 @@ 'use strict'; -var test = require('tape'); -var mbgl = require('../../index'); -var fs = require('fs'); -var path = require('path'); -var style = require('../fixtures/style.json'); +import test from 'tape'; +import mbgl from '../../index'; +import fs from 'fs'; +import path from 'path'; +import style from '../fixtures/style.json'; test('Map', function(t) { // This test is skipped because of the req.respond shim in index.js |