Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix bug where v1 functions can't be emulated (#1615)
4 changes: 4 additions & 0 deletions src/v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Loading