From 887abd75dd1c98e45861bd11414d6ff0270d59c9 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Thu, 5 Apr 2018 08:31:19 -0700 Subject: [PATCH] Add missing shim, fix typo --- js/react/util/index.ts | 2 +- test/legacy_bridge.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/js/react/util/index.ts b/js/react/util/index.ts index eba788b29..19772b037 100644 --- a/js/react/util/index.ts +++ b/js/react/util/index.ts @@ -1,5 +1,5 @@ // Helper components used in the styleguide, exposed at 'util' in the global scope via the -// context option in reaat-styleguidist. +// context option in react-styleguidist. export { MessageParents } from './MessageParents'; export { BackboneWrapper } from './BackboneWrapper'; diff --git a/test/legacy_bridge.js b/test/legacy_bridge.js index 8bede1fbb..53961f595 100644 --- a/test/legacy_bridge.js +++ b/test/legacy_bridge.js @@ -13,7 +13,9 @@ window.Signal = {}; window.Signal.Backup = {}; window.Signal.Crypto = {}; window.Signal.Logs = {}; -window.Signal.Migrations = {}; +window.Signal.Migrations = { + getPlaceholderMigrations: () => {}, +}; window.Signal.React = window.Signal.React = {};