use crate*;
use crate*;
// exports[
// "test that we can instantiate with a string or an object"
// ] = async function(assert) {
// let map = await new SourceMapConsumer(util.testMap);
// map = await new SourceMapConsumer(JSON.stringify(util.testMap));
// assert.ok(true);
// map.destroy();
// };
// exports[
// "test that the object returned from await new SourceMapConsumer inherits from SourceMapConsumer"
// ] = async function(assert) {
// const map = await new SourceMapConsumer(util.testMap);
// assert.ok(map instanceof SourceMapConsumer);
// map.destroy();
// };
// exports[
// "test that a BasicSourceMapConsumer is returned for sourcemaps without sections"
// ] = async function(assert) {
// const map = await new SourceMapConsumer(util.testMap);
// assert.ok(map instanceof BasicSourceMapConsumer);
// map.destroy();
// };
// exports[
// "test that an IndexedSourceMapConsumer is returned for sourcemaps with sections"
// ] = async function(assert) {
// const map = await new SourceMapConsumer(util.indexedTestMap);
// assert.ok(map instanceof IndexedSourceMapConsumer);
// map.destroy();
// };
// exports[
// "test that the `sources` field has the original sources"
// ] = async function(assert) {
// let map;
// let sources;
//
// map = await new SourceMapConsumer(util.testMap);
// sources = map.sources;
// assert.equal(sources[0], "/the/root/one.js");
// assert.equal(sources[1], "/the/root/two.js");
// assert.equal(sources.length, 2);
// map.destroy();
//
// map = await new SourceMapConsumer(util.indexedTestMap);
// sources = map.sources;
// assert.equal(sources[0], "/the/root/one.js");
// assert.equal(sources[1], "/the/root/two.js");
// assert.equal(sources.length, 2);
// map.destroy();
//
// map = await new SourceMapConsumer(util.indexedTestMapDifferentSourceRoots);
// sources = map.sources;
// assert.equal(sources[0], "/the/root/one.js");
// assert.equal(sources[1], "/different/root/two.js");
// assert.equal(sources.length, 2);
// map.destroy();
//
// map = await new SourceMapConsumer(util.testMapNoSourceRoot);
// sources = map.sources;
// assert.equal(sources[0], "one.js");
// assert.equal(sources[1], "two.js");
// assert.equal(sources.length, 2);
// map.destroy();
//
// map = await new SourceMapConsumer(util.testMapEmptySourceRoot);
// sources = map.sources;
// assert.equal(sources[0], "one.js");
// assert.equal(sources[1], "two.js");
// assert.equal(sources.length, 2);
// map.destroy();
// };