Files
MapLibreParticleLab/test/js/file_source.test.js
Mike Morris d2fd82c032 Revert "add tap-spec to format output"
This reverts commit 63dfba065d.
2015-02-18 17:02:43 -05:00

22 lines
446 B
JavaScript

'use strict';
/* jshint node: true */
var test = require('tape');
var mbgl = require('../..');
test('FileSource', function(t) {
t.test('constructor', function(t) {
t.test('must be called with new', function(t) {
t.throws(function() {
mbgl.FileSource();
}, /Use the new operator to create new FileSource objects/);
t.end();
});
t.end();
});
t.end();
});