Files
frontend-app-authoring/src/editors/utils/keyStore.js
Ben Warzeski 09e9d865c2 Chore: Test coverage hunt (#36)
* chore: add brand mocking in gallery view

* feat: dev gallery app

* chore: link mock block ids to real block type api

* feat: image settings page features

* chore: more tests

* chore: keystore util and more testing

* chore: more tests

* chore: re-install lint plugin...

* chore: lint fixes

* chore: moar tests

* chore: remove brand from module.config and link gallery to edx.org brand
2022-03-24 11:15:32 -04:00

11 lines
205 B
JavaScript

import StrictDict from './StrictDict';
const keyStore = (collection) => StrictDict(
Object.keys(collection).reduce(
(obj, key) => ({ ...obj, [key]: key }),
{},
),
);
export default keyStore;