@neo4j-ndl/react 2.8.9 → 2.8.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/lib/LICENSES.txt +673 -621
- package/lib/NOTICE.txt +36 -25
- package/lib/cjs/breadcrumbs/Breadcrumbs.js +1 -1
- package/lib/cjs/breadcrumbs/Breadcrumbs.js.map +1 -1
- package/lib/cjs/data-grid/Components.js +0 -1
- package/lib/cjs/data-grid/Components.js.map +1 -1
- package/lib/cjs/dropdown/Dropdown.js +8 -4
- package/lib/cjs/dropdown/Dropdown.js.map +1 -1
- package/lib/esm/breadcrumbs/Breadcrumbs.js +1 -1
- package/lib/esm/breadcrumbs/Breadcrumbs.js.map +1 -1
- package/lib/esm/data-grid/Components.js +0 -1
- package/lib/esm/data-grid/Components.js.map +1 -1
- package/lib/esm/dropdown/Dropdown.js +8 -4
- package/lib/esm/dropdown/Dropdown.js.map +1 -1
- package/lib/types/dropdown/types.d.ts +3 -1
- package/package.json +14 -10
- package/lib/cjs/helpers/testing.js +0 -62
- package/lib/cjs/helpers/testing.js.map +0 -1
- package/lib/cjs/setupTests.js +0 -51
- package/lib/cjs/setupTests.js.map +0 -1
- package/lib/esm/helpers/testing.js +0 -58
- package/lib/esm/helpers/testing.js.map +0 -1
- package/lib/esm/setupTests.js +0 -26
- package/lib/esm/setupTests.js.map +0 -1
- package/lib/types/helpers/testing.d.ts +0 -28
- package/lib/types/setupTests.d.ts +0 -22
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.11",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"sideEffects": false,
|
|
5
6
|
"description": "React implementation of Neo4j Design System",
|
|
6
7
|
"keywords": [
|
|
@@ -42,7 +43,9 @@
|
|
|
42
43
|
"scripts": {
|
|
43
44
|
"generate-component": "node ./scripts/component-generator.js",
|
|
44
45
|
"pretest": "yarn run lint",
|
|
45
|
-
"test": "
|
|
46
|
+
"test": "yarn test:unit && yarn test:playwright",
|
|
47
|
+
"test:unit": "vitest --run --typecheck",
|
|
48
|
+
"test:playwright": "playwright test -c playwright-component-testing.config.ts",
|
|
46
49
|
"build": "yarn build:esm && yarn build:cjs && yarn build:types",
|
|
47
50
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
48
51
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -56,18 +59,20 @@
|
|
|
56
59
|
"generate:hero-icons": "ts-node ./scripts/generatedHeroIcons.ts"
|
|
57
60
|
},
|
|
58
61
|
"devDependencies": {
|
|
62
|
+
"@axe-core/playwright": "4.8.5",
|
|
63
|
+
"@playwright/experimental-ct-react": "1.42.1",
|
|
59
64
|
"@svgr/cli": "6.5.1",
|
|
60
|
-
"@
|
|
61
|
-
"@testing-library/react": "14.0.0",
|
|
62
|
-
"@testing-library/user-event": "14.4.3",
|
|
65
|
+
"@types/node": "20.11.21",
|
|
63
66
|
"@types/react": "18.2.18",
|
|
64
67
|
"@types/react-datepicker": "^4.11.2",
|
|
65
68
|
"@types/react-dom": "18.2.7",
|
|
66
69
|
"@types/react-syntax-highlighter": "^15.5.5",
|
|
67
70
|
"@types/react-table": "^7.7.10",
|
|
71
|
+
"@types/sinon": "17",
|
|
68
72
|
"@types/tinycolor2": "^1.4.3",
|
|
69
73
|
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
|
70
74
|
"@typescript-eslint/parser": "6.15.0",
|
|
75
|
+
"@vitejs/plugin-react": "4.2.1",
|
|
71
76
|
"eslint": "^8.3.0",
|
|
72
77
|
"eslint-config-prettier": "^8.3.0",
|
|
73
78
|
"eslint-plugin-import": "2.28.1",
|
|
@@ -79,11 +84,10 @@
|
|
|
79
84
|
"react": "18.2.0",
|
|
80
85
|
"react-select-event": "^5.5.0",
|
|
81
86
|
"resize-observer-polyfill": "^1.5.1",
|
|
87
|
+
"sinon": "17.0.1",
|
|
82
88
|
"ts-node": "^10.9.1",
|
|
83
89
|
"typescript": "5.1.6",
|
|
84
|
-
"vitest": "
|
|
85
|
-
"vitest-axe": "0.1.0",
|
|
86
|
-
"vitest-canvas-mock": "0.3.3"
|
|
90
|
+
"vitest": "1.3.1"
|
|
87
91
|
},
|
|
88
92
|
"peerDependencies": {
|
|
89
93
|
"@heroicons/react": "2.0.13",
|
|
@@ -93,7 +97,7 @@
|
|
|
93
97
|
"@floating-ui/react": "0.25.1",
|
|
94
98
|
"@heroicons/react": "2.0.13",
|
|
95
99
|
"@neo4j-cypher/react-codemirror": "^1.0.1",
|
|
96
|
-
"@neo4j-ndl/base": "^2.7.
|
|
100
|
+
"@neo4j-ndl/base": "^2.7.7",
|
|
97
101
|
"@table-nav/core": "0.0.7",
|
|
98
102
|
"@table-nav/react": "0.0.7",
|
|
99
103
|
"@tanstack/react-table": "^8.9.3",
|
|
@@ -104,7 +108,7 @@
|
|
|
104
108
|
"react-aria": "3.31.0",
|
|
105
109
|
"react-datepicker": "^4.14.1",
|
|
106
110
|
"react-dropzone": "^14.0.0",
|
|
107
|
-
"react-focus-lock": "
|
|
111
|
+
"react-focus-lock": "2.11.2",
|
|
108
112
|
"react-select": "5.7.0",
|
|
109
113
|
"react-stately": "3.29.1",
|
|
110
114
|
"react-syntax-highlighter": "^15.5.0",
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
23
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
24
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
25
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
26
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
27
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
28
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.a11yValidation = void 0;
|
|
33
|
-
const vitest_axe_1 = require("vitest-axe");
|
|
34
|
-
const axe = (0, vitest_axe_1.configureAxe)({
|
|
35
|
-
runOnly: {
|
|
36
|
-
type: 'tag',
|
|
37
|
-
values: ['wcag2aa'],
|
|
38
|
-
},
|
|
39
|
-
globalOptions: {
|
|
40
|
-
checks: [
|
|
41
|
-
{
|
|
42
|
-
// Source: https://github.com/nickcolley/jest-axe/issues/147#issuecomment-1300192415
|
|
43
|
-
// color contrast checking doesnt work in a jsdom environment.
|
|
44
|
-
id: 'color-contrast',
|
|
45
|
-
enabled: false,
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
/**
|
|
51
|
-
* A11y testing with Axe
|
|
52
|
-
* Jest helper to the container for HTML
|
|
53
|
-
* inaccessibilities
|
|
54
|
-
*
|
|
55
|
-
* More: https://github.com/nickcolley/jest-axe
|
|
56
|
-
*/
|
|
57
|
-
const a11yValidation = (container) => __awaiter(void 0, void 0, void 0, function* () {
|
|
58
|
-
const results = yield axe(container);
|
|
59
|
-
expect(results).toHaveNoViolations();
|
|
60
|
-
});
|
|
61
|
-
exports.a11yValidation = a11yValidation;
|
|
62
|
-
//# sourceMappingURL=testing.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../src/helpers/testing.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;AAEH,2CAA0C;AAE1C,MAAM,GAAG,GAAG,IAAA,yBAAY,EAAC;IACvB,OAAO,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,CAAC,SAAS,CAAC;KACpB;IACD,aAAa,EAAE;QACb,MAAM,EAAE;YACN;gBACE,oFAAoF;gBACpF,8DAA8D;gBAC9D,EAAE,EAAE,gBAAgB;gBACpB,OAAO,EAAE,KAAK;aACf;SACF;KACF;CACF,CAAC,CAAC;AAEH;;;;;;GAMG;AACI,MAAM,cAAc,GAAG,CAAO,SAAsB,EAAE,EAAE;IAC7D,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,CAAC;IACrC,MAAM,CAAC,OAAO,CAAC,CAAC,kBAAkB,EAAE,CAAC;AACvC,CAAC,CAAA,CAAC;AAHW,QAAA,cAAc,kBAGzB"}
|
package/lib/cjs/setupTests.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) "Neo4j"
|
|
5
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
-
*
|
|
7
|
-
* This file is part of Neo4j.
|
|
8
|
-
*
|
|
9
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
-
* it under the terms of the GNU General Public License as published by
|
|
11
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
-
* (at your option) any later version.
|
|
13
|
-
*
|
|
14
|
-
* This program is distributed in the hope that it will be useful,
|
|
15
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
-
* GNU General Public License for more details.
|
|
18
|
-
*
|
|
19
|
-
* You should have received a copy of the GNU General Public License
|
|
20
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
-
*/
|
|
22
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
25
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
26
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
27
|
-
}
|
|
28
|
-
Object.defineProperty(o, k2, desc);
|
|
29
|
-
}) : (function(o, m, k, k2) {
|
|
30
|
-
if (k2 === undefined) k2 = k;
|
|
31
|
-
o[k2] = m[k];
|
|
32
|
-
}));
|
|
33
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
34
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
35
|
-
}) : function(o, v) {
|
|
36
|
-
o["default"] = v;
|
|
37
|
-
});
|
|
38
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
39
|
-
if (mod && mod.__esModule) return mod;
|
|
40
|
-
var result = {};
|
|
41
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
42
|
-
__setModuleDefault(result, mod);
|
|
43
|
-
return result;
|
|
44
|
-
};
|
|
45
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
require("vitest-canvas-mock");
|
|
47
|
-
require("@testing-library/jest-dom");
|
|
48
|
-
const matchers = __importStar(require("vitest-axe/matchers"));
|
|
49
|
-
const vitest_1 = require("vitest");
|
|
50
|
-
vitest_1.expect.extend(matchers);
|
|
51
|
-
//# sourceMappingURL=setupTests.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setupTests.js","sourceRoot":"","sources":["../../src/setupTests.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,8BAA4B;AAC5B,qCAAmC;AAEnC,8DAAgD;AAChD,mCAAgC;AAChC,eAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
22
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
23
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
24
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
25
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
26
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
import { configureAxe } from 'vitest-axe';
|
|
31
|
-
const axe = configureAxe({
|
|
32
|
-
runOnly: {
|
|
33
|
-
type: 'tag',
|
|
34
|
-
values: ['wcag2aa'],
|
|
35
|
-
},
|
|
36
|
-
globalOptions: {
|
|
37
|
-
checks: [
|
|
38
|
-
{
|
|
39
|
-
// Source: https://github.com/nickcolley/jest-axe/issues/147#issuecomment-1300192415
|
|
40
|
-
// color contrast checking doesnt work in a jsdom environment.
|
|
41
|
-
id: 'color-contrast',
|
|
42
|
-
enabled: false,
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
/**
|
|
48
|
-
* A11y testing with Axe
|
|
49
|
-
* Jest helper to the container for HTML
|
|
50
|
-
* inaccessibilities
|
|
51
|
-
*
|
|
52
|
-
* More: https://github.com/nickcolley/jest-axe
|
|
53
|
-
*/
|
|
54
|
-
export const a11yValidation = (container) => __awaiter(void 0, void 0, void 0, function* () {
|
|
55
|
-
const results = yield axe(container);
|
|
56
|
-
expect(results).toHaveNoViolations();
|
|
57
|
-
});
|
|
58
|
-
//# sourceMappingURL=testing.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../src/helpers/testing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,GAAG,GAAG,YAAY,CAAC;IACvB,OAAO,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,CAAC,SAAS,CAAC;KACpB;IACD,aAAa,EAAE;QACb,MAAM,EAAE;YACN;gBACE,oFAAoF;gBACpF,8DAA8D;gBAC9D,EAAE,EAAE,gBAAgB;gBACpB,OAAO,EAAE,KAAK;aACf;SACF;KACF;CACF,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAO,SAAsB,EAAE,EAAE;IAC7D,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,CAAC;IACrC,MAAM,CAAC,OAAO,CAAC,CAAC,kBAAkB,EAAE,CAAC;AACvC,CAAC,CAAA,CAAC"}
|
package/lib/esm/setupTests.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
import 'vitest-canvas-mock';
|
|
22
|
-
import '@testing-library/jest-dom';
|
|
23
|
-
import * as matchers from 'vitest-axe/matchers';
|
|
24
|
-
import { expect } from 'vitest';
|
|
25
|
-
expect.extend(matchers);
|
|
26
|
-
//# sourceMappingURL=setupTests.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setupTests.js","sourceRoot":"","sources":["../../src/setupTests.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,oBAAoB,CAAC;AAC5B,OAAO,2BAA2B,CAAC;AAEnC,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
/**
|
|
22
|
-
* A11y testing with Axe
|
|
23
|
-
* Jest helper to the container for HTML
|
|
24
|
-
* inaccessibilities
|
|
25
|
-
*
|
|
26
|
-
* More: https://github.com/nickcolley/jest-axe
|
|
27
|
-
*/
|
|
28
|
-
export declare const a11yValidation: (container: HTMLElement) => Promise<void>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Copyright (c) "Neo4j"
|
|
4
|
-
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
-
*
|
|
6
|
-
* This file is part of Neo4j.
|
|
7
|
-
*
|
|
8
|
-
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
-
* it under the terms of the GNU General Public License as published by
|
|
10
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
-
* (at your option) any later version.
|
|
12
|
-
*
|
|
13
|
-
* This program is distributed in the hope that it will be useful,
|
|
14
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
-
* GNU General Public License for more details.
|
|
17
|
-
*
|
|
18
|
-
* You should have received a copy of the GNU General Public License
|
|
19
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
-
*/
|
|
21
|
-
import 'vitest-canvas-mock';
|
|
22
|
-
import '@testing-library/jest-dom';
|