CityBEM-CityLayers-SaeedRay.../node_modules/electron-rebuild/lib/test/read-package-json.js

12 lines
590 B
JavaScript
Raw Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const path = require("path");
const chai_1 = require("chai");
const read_package_json_1 = require("../src/read-package-json");
describe('read-package-json', () => {
it('should find a package.json file from the given directory', async () => {
// eslint-disable-next-line @typescript-eslint/no-var-requires
chai_1.expect(await read_package_json_1.readPackageJson(path.resolve(__dirname, '..'))).to.deep.equal(require('../package.json'));
});
});
//# sourceMappingURL=read-package-json.js.map