UNPKG

@wbg-mde/repository

Version:

Managing all common method for file system CRUD operations.

44 lines (43 loc) 1.4 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const path = require("path"); class TestConfig { static get inputPath() { return inputPath; } static get outputPath() { return outputPath; } static get ddiOptions() { return ddiOptions; } static get geospatialOptions() { return geospatialOptions; } static get dublinCoreOptions() { return dublinCoreOptions; } } exports.TestConfig = TestConfig; const inputPath = { ddi: path.join(process.cwd(), "test_data", "input", "ddi"), geospatial: path.join(process.cwd(), "test_data", "input", "geospatial"), dublincore: path.join(process.cwd(), "test_data", "input", "dublincore") }; const outputPath = { ddi: path.join(process.cwd(), "test_data", "output", "ddi"), geospatial: path.join(process.cwd(), "test_data", "output", "geospatial"), dublincore: path.join(process.cwd(), "test_data", "output", "dublincore") }; const ddiOptions = { type: 'DDI', language: 'en', options: { "catgry": true, "dataDscr": true, "docDscr": true, "fileDscr": true, "qstn": true, "stdyDscr": true, "varDocs": true, "varGrps": true } }; const geospatialOptions = { type: 'Geospatial', language: 'en' }; const dublinCoreOptions = { type: 'DublinCore', language: 'en' };