"use strict";

var _readFileSync = _interopRequireDefault(require("./readFileSync"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

describe('Read File Sync', () => {
  test('should throw error if file doesn\'t exist', () => {
    try {
      (0, _readFileSync.default)('nonexist');
    } catch (error) {
      expect(error).toBeTruthy();
    }
  });
});