Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit 9bc0030

Browse files
committed
Fix require paths in tests
1 parent e0cf2f0 commit 9bc0030

File tree

5 files changed

+25
-5
lines changed

5 files changed

+25
-5
lines changed

packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-entries.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5+
const Utils = require("../../utils");
56
const {
67
createNode,
78
getChildren,
89
makeNodesForEntries,
10+
} = Utils.node;
11+
12+
const {
913
shouldLoadItemEntries,
10-
} = require("../../utils/node");
14+
} = Utils.loadProperties;
1115

1216
const gripMapStubs = require("../../../reps/stubs/grip-map");
1317
const gripArrayStubs = require("../../../reps/stubs/grip-array");

packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-indexed-properties.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5+
const Utils = require("../../utils");
56
const {
67
createNode,
78
getChildren,
89
makeNodesForEntries,
910
nodeIsDefaultProperties,
11+
} = Utils.node;
12+
13+
const {
1014
shouldLoadItemIndexedProperties,
11-
} = require("../../utils/node");
15+
} = Utils.loadProperties;
1216

1317
const GripMapEntryRep = require("../../../reps/grip-map-entry");
1418
const accessorStubs = require("../../../reps/stubs/accessor");

packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-non-indexed-properties.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5+
const Utils = require("../../utils");
56
const {
67
createNode,
78
getChildren,
89
makeNodesForEntries,
910
nodeIsDefaultProperties,
11+
} = Utils.node;
12+
13+
const {
1014
shouldLoadItemNonIndexedProperties,
11-
} = require("../../utils/node");
15+
} = Utils.loadProperties;
1216

1317
const GripMapEntryRep = require("../../../reps/grip-map-entry");
1418
const accessorStubs = require("../../../reps/stubs/accessor");

packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-prototype.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5+
const Utils = require("../../utils");
56
const {
67
createNode,
78
getChildren,
89
makeNodesForEntries,
910
nodeIsDefaultProperties,
11+
} = Utils.node;
12+
13+
const {
1014
shouldLoadItemPrototype,
11-
} = require("../../utils/node");
15+
} = Utils.loadProperties;
1216

1317
const GripMapEntryRep = require("../../../reps/grip-map-entry");
1418
const accessorStubs = require("../../../reps/stubs/accessor");

packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-symbols.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5+
const Utils = require("../../utils");
56
const {
67
createNode,
78
getChildren,
89
makeNodesForEntries,
910
nodeIsDefaultProperties,
11+
} = Utils.node;
12+
13+
const {
1014
shouldLoadItemSymbols,
11-
} = require("../../utils/node");
15+
} = Utils.loadProperties;
1216

1317
const GripMapEntryRep = require("../../../reps/grip-map-entry");
1418
const accessorStubs = require("../../../reps/stubs/accessor");

0 commit comments

Comments
 (0)