UNPKG

esmodule-builder

Version:

ECMAScript-Module (ES Module) builder.

17 lines (14 loc) 533 B
/* -*- Mode: js; js-indent-level: 2; -*- */ /* * Copyright 2012 Mozilla Foundation and contributors * Licensed under the New BSD license. See LICENSE or: * http://opensource.org/licenses/BSD-3-Clause */ const sourceMap = require("../source-map"); exports["test that the api is properly exposed in the top level"] = function( assert ) { assert.equal(typeof sourceMap.SourceMapGenerator, "function"); assert.equal(typeof sourceMap.SourceMapConsumer, "function"); assert.equal(typeof sourceMap.SourceNode, "function"); };