"use strict";

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

test('Object.values() method', () => {
  const inputCode = `const person = {
  firstName : "John",
  lastName : "Doe",
  age : 50,
  eyeColor : "blue"
};

let text = Object.values(person);`;
  const outputCode = `const person = {
  firstName: "John",
  lastName: "Doe",
  age: 50,
  eyeColor: "blue"
};
let text = Object.values(person);`;
  expect(convertCode(inputCode)).toBe(outputCode);
});