Skip to content

Commit

Permalink
Merge pull request #514 from clayzenx/unit-test-check
Browse files Browse the repository at this point in the history
Unit test check
  • Loading branch information
rpiontik authored Apr 8, 2024
2 parents 4133b59 + 216302a commit 185806e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/frontend/helpers/datasets.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import pathTool from '@global/manifest/tools/path.mjs';
import env from '@front/helpers/env';
import compress from '@global/compress/compress.mjs';

let DecompressionStream, CompressionStream;

const compressor = compress({
// eslint-disable-next-line no-undef
DecompressionStream,
Expand Down
1 change: 1 addition & 0 deletions src/global/compress/compress.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const COMPRESS_METHOD = 'gzip'; //deflate
let DecompressionStream, CompressionStream;

export default function(driver) {

Expand Down
14 changes: 7 additions & 7 deletions tests/global/__fixtures__/validators.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@
{
"id": "dochub",
"title": "DocHub",
"items": null
"items": []
},
{
"id": "dochub.metamodel",
"title": "Контроль ядра метамодели",
"items": null
"items": []
},
{
"id": "dochub.metamodel.contexts",
"title": "Контроль целостности контекстов",
"items": null
"items": []
},
{
"id": "dochub.metamodel.components",
"title": "Контроль целостности компонентов",
"items": null
"items": []
},
{
"id": "dochub.metamodel.components.links",
"title": "Связь компонентов",
"items": null
"items": []
},
{
"id": "dochub.metamodel.aspects",
"title": "Контроль целостности аспектов",
"items": null
"items": []
},
{
"id": "dochub.fields",
"title": "Заполнение полей",
"items": null
"items": []
},
{
"id": "dochub.metamodel.contexts.no_found_component",
Expand Down

0 comments on commit 185806e

Please sign in to comment.