diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29bb..01db4f8f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1 @@ +- Fix bug where v1 functions can't be emulated (#1615) diff --git a/src/v2/index.ts b/src/v2/index.ts index 0684c364e..10076ce7c 100644 --- a/src/v2/index.ts +++ b/src/v2/index.ts @@ -77,3 +77,7 @@ export { params }; // NOTE: Required to support the Functions Emulator which monkey patches `functions.config()` // TODO(danielylee): Remove in next major release. export { config } from "../v1/config"; + +// Required for v1 Emulator support. +import { setApp as setEmulatedAdminApp } from "../common/app"; +export const app = { setEmulatedAdminApp };