UNPKG

bonsai-analyzer

Version:
29 lines (24 loc) 1.06 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _fullModuleData = _interopRequireDefault(require("../stats/fullModuleData")); try { describe('Integration tests', () => { describe('Single Entry Suite', () => { const config = require('../../scripts/built-integration-fixtures/prod-config.json'); it('should match fullModuleData', () => { expect((0, _fullModuleData.default)(config, null, [])).toMatchSnapshot(); }); }); describe('Multi Entry Suite', () => { const config = require('../../scripts/built-integration-fixtures/multi-config.json'); it('should match fullModuleData', () => { expect((0, _fullModuleData.default)(config.children[0], null, [])).toMatchSnapshot(); expect((0, _fullModuleData.default)(config.children[1], null, [])).toMatchSnapshot(); }); }); }); } catch (error) { // eslint-disable-next-line jest/no-identical-title, jest/no-disabled-tests describe.skip('Integration tests', () => {// empty }); }