diff --git a/src/ui/public/registry/__tests__/index.js b/src/ui/public/registry/__tests__/index.js index 15508dedb851a..0a6fb6966303c 100644 --- a/src/ui/public/registry/__tests__/index.js +++ b/src/ui/public/registry/__tests__/index.js @@ -69,11 +69,11 @@ describe('Registry', function () { it('executes before the modules are returned', function () { let i = 0; - registry({ + Private(registry({ constructor: function () { i = i + 1; } - }); + })); expect(i).to.be(1); });