From 826d68d4f5e66e20ba281e49b083ce8fc311b015 Mon Sep 17 00:00:00 2001 From: John Knox Date: Tue, 16 Jan 2018 02:27:50 -0800 Subject: [PATCH] Add tests for getRemoteFileMap Reviewed By: mjesun Differential Revision: D6711831 fbshipit-source-id: e5323e35a86ae03a8acee8c8d9e389218315d46f --- packages/metro/src/Bundler/util.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/metro/src/Bundler/util.js b/packages/metro/src/Bundler/util.js index 954c8d2a..0c263b12 100644 --- a/packages/metro/src/Bundler/util.js +++ b/packages/metro/src/Bundler/util.js @@ -25,11 +25,13 @@ export type RemoteFileMap = { [number]: string, }, }, + __proto__: null, }; // Structure of the object: platform.dir.name.scale = asset export type PlatformRemoteFileMap = { [string]: RemoteFileMap, + __proto__: null, }; type SubTree = (