Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @googlemaps/jest-mocks with all npm packages installed. Try it out:

var jestMocks = require("@googlemaps/jest-mocks")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@googlemaps/jest-mocks v0.0.3

Mocks for jest and Google Maps.

Jest Mocks for Google Maps v3


Jest mocks for Google Maps in TypeScript.

Note: Currently this is a partial set of mocks/stubs.


Available via NPM as the package @googlemaps/jest-mocks


import { initialize } from "@googlemaps/jest-mocks";

beforeEach(() => {


This library is community supported. We're comfortable enough with the stability and features of the library that we want you to build real production applications on it.

If you find a bug, or have a feature suggestion, please log an issue. If you'd like to contribute, please read [How to Contribute][contrib].

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free