"use strict";

const {
  convertCode
} = require('../utilities');

test('export namespace', () => {
  const inputCode = 'export * as ns from "mod";';
  const outputCode = `import * as _ns from "mod";
export { _ns as ns };`;
  expect(convertCode(inputCode)).toBe(outputCode);
});