"use strict";

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

test('keyword var', () => {
  const inputCode = 'var name = "sam"';
  const outputCode = 'var name = "sam";';
  expect(convertCode(inputCode)).toBe(outputCode);
});
test('keyword let', () => {
  const inputCode = 'let name = "sam"';
  const outputCode = 'let name = "sam";';
  expect(convertCode(inputCode)).toBe(outputCode);
});
test('keyword const', () => {
  const inputCode = 'const name = "sam"';
  const outputCode = 'const name = "sam";';
  expect(convertCode(inputCode)).toBe(outputCode);
});