diff --git a/src/reps/rep.js b/src/reps/rep.js index c7566ad..ab84da9 100644 --- a/src/reps/rep.js +++ b/src/reps/rep.js @@ -152,6 +152,7 @@ module.exports = { NaNRep, Null, Number, + Obj, ObjectWithText, ObjectWithURL, PromiseRep, diff --git a/src/test/mochitest/test_reps_array.html b/src/test/mochitest/test_reps_array.html index 07a3e4e..24fb11e 100644 --- a/src/test/mochitest/test_reps_array.html +++ b/src/test/mochitest/test_reps_array.html @@ -20,9 +20,8 @@ /* import-globals-from head.js */ window.onload = Task.async(function* () { - let { Rep } = browserRequire("devtools/client/shared/components/reps/rep"); - let { ArrayRep } = browserRequire("devtools/client/shared/components/reps/array"); - const { MODE } = browserRequire("devtools/client/shared/components/reps/constants"); + const { REPS, MODE } = browserRequire("devtools/client/shared/components/reps/load-reps"); + let { Rep, ArrayRep } = REPS; let componentUnderTest = ArrayRep; const maxLength = { diff --git a/src/test/mochitest/test_reps_attribute.html b/src/test/mochitest/test_reps_attribute.html index aa8a5df..a19a868 100644 --- a/src/test/mochitest/test_reps_attribute.html +++ b/src/test/mochitest/test_reps_attribute.html @@ -18,8 +18,8 @@