text: 'use strict';
  Object.defineProperty(exports, "__esModule", { value: true });
  var fs = require("fs");
  var path = require("path");
  exports.default = function (_a) {
      var type = _a.type;
      var validPath = path.resolve(__dirname, "../data/" + type + "/valid/");
      var validTestFiles = fs.readdirSync(validPath);
      var validTests = validTestFiles.map(function (file) { return fs.readFileSync(path.resolve(validPath, file), 'utf-8'); }).map(function (jsonString) { return JSON.parse(jsonString); });
      return validTests;
  };
  //# sourceMappingURL=loadTests.js.map