summaryrefslogtreecommitdiffstats
path: root/devtools/client/memory/store.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/memory/store.js')
-rw-r--r--devtools/client/memory/store.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/devtools/client/memory/store.js b/devtools/client/memory/store.js
new file mode 100644
index 0000000000..6195140cd8
--- /dev/null
+++ b/devtools/client/memory/store.js
@@ -0,0 +1,15 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+"use strict";
+
+const createStore = require("devtools/client/shared/redux/create-store");
+const reducers = require("devtools/client/memory/reducers");
+
+module.exports = () =>
+ createStore(reducers, {
+ enableTaskMiddleware: true,
+ // Uncomment this for logging in tests.
+ // shouldLog: true,
+ });