|
1 |
| -# Jest Mocks for Google Maps |
2 |
| - |
3 |
| -[](https://www.npmjs.com/package/@googlemaps/jest-mocks) |
4 |
| - |
| 1 | +[][npm-pkg] |
5 | 2 | 
|
| 3 | + |
| 4 | +[](https://github.com/googlemaps/js-jest-mocks/actions/workflows/test.yml) |
| 5 | + |
6 | 6 | [](https://codecov.io/gh/googlemaps/js-jest-mocks)
|
7 |
| - |
8 | 7 | [](https://github.com/semantic-release/semantic-release)
|
9 |
| -[](https://github.com/apps/in-solidarity) |
10 |
| -[](https://discord.gg/jRteCzP) |
| 8 | +[](https://github.com/apps/in-solidarity) |
| 9 | + |
| 10 | + |
| 11 | +[][license] |
| 12 | +[](https://stackoverflow.com/questions/tagged/google-maps) |
| 13 | +[][Discord server] |
| 14 | + |
| 15 | +# Jest Mocks for Google Maps |
11 | 16 |
|
12 | 17 | ## Description
|
13 | 18 |
|
14 | 19 | Jest mocks for Google Maps in TypeScript.
|
15 | 20 |
|
16 |
| -**Note:** If you find a missing mock, please open an [issue][issues]. |
| 21 | +**Note:** If you find a missing mock, please [file an issue]. |
| 22 | + |
| 23 | +## Requirements |
| 24 | + |
| 25 | +- [Sign up with Google Maps Platform] |
| 26 | +- A Google Maps Platform [project] with the [**Maps Javascript API**][maps-sdk] enabled |
| 27 | +- An [API key] associated with the project above |
| 28 | +- Node.js and NPM |
17 | 29 |
|
18 |
| -## NPM |
| 30 | +## Installation |
19 | 31 |
|
20 | 32 | Available via NPM as the package `@googlemaps/jest-mocks`
|
21 | 33 |
|
| 34 | +``` |
| 35 | +npm i @googlemaps/jest-mocks |
| 36 | +``` |
| 37 | + |
22 | 38 | ## Usage
|
23 | 39 |
|
24 | 40 | These mocks need the tests to run in a browser-like environment (for example
|
@@ -305,13 +321,43 @@ beforeEach(() => {
|
305 | 321 | });
|
306 | 322 | ```
|
307 | 323 |
|
308 |
| -## Support |
| 324 | +## Contributing |
309 | 325 |
|
310 |
| -This library is community supported. We're comfortable enough with the stability and features of |
311 |
| -the library that we want you to build real production applications on it. |
| 326 | +Contributions are welcome and encouraged! If you'd like to contribute, send us a [pull request] and refer to our [code of conduct] and [contributing guide]. |
312 | 327 |
|
313 |
| -If you find a bug, or have a feature suggestion, please [log an issue][issues]. If you'd like to |
314 |
| -contribute, please read [How to Contribute][contrib]. |
| 328 | +## Terms of Service |
| 329 | + |
| 330 | +This library uses Google Maps Platform services. Use of Google Maps Platform services through this library is subject to the Google Maps Platform [Terms of Service]. |
| 331 | + |
| 332 | +This library is not a Google Maps Platform Core Service. Therefore, the Google Maps Platform Terms of Service (e.g. Technical Support Services, Service Level Agreements, and Deprecation Policy) do not apply to the code in this library. |
| 333 | + |
| 334 | +## Support |
315 | 335 |
|
316 |
| -[issues]: https://github.com/googlemaps/js-jest-mocks/issues |
317 |
| -[contrib]: CONTRIBUTING.md |
| 336 | +This library is offered via an open source [license]. It is not governed by the Google Maps Platform Support [Technical Support Services Guidelines, the SLA, or the [Deprecation Policy]. However, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service. |
| 337 | + |
| 338 | +This library adheres to [semantic versioning] to indicate when backwards-incompatible changes are introduced. Accordingly, while the library is in version 0.x, backwards-incompatible changes may be introduced at any time. |
| 339 | + |
| 340 | +If you find a bug, or have a feature request, please [file an issue] on GitHub. If you would like to get answers to technical questions from other Google Maps Platform developers, ask through one of our [developer community channels]. If you'd like to contribute, please check the [contributing guide]. |
| 341 | + |
| 342 | +You can also discuss this library on our [Discord server]. |
| 343 | + |
| 344 | +[API key]: https://developers.google.com/maps/documentation/javascript/get-api-key |
| 345 | +[maps-sdk]: https://developers.google.com/maps/documentation/javascript |
| 346 | +[documentation]: https://googlemaps.github.io/js-jest-mocks |
| 347 | +[npm-pkg]: https://npmjs.com/package/@googlemaps/jest-mocks |
| 348 | + |
| 349 | +[code of conduct]: ?tab=coc-ov-file#readme |
| 350 | +[contributing guide]: CONTRIBUTING.md |
| 351 | +[Deprecation Policy]: https://cloud.google.com/maps-platform/terms |
| 352 | +[developer community channels]: https://developers.google.com/maps/developer-community |
| 353 | +[Discord server]: https://discord.gg/hYsWbmk |
| 354 | +[file an issue]: https://github.com/googlemaps/js-jest-mocks/issues/new/choose |
| 355 | +[license]: LICENSE |
| 356 | +[project]: https://developers.google.com/maps/documentation/javascript/cloud-setup#enabling-apis |
| 357 | +[pull request]: https://github.com/googlemaps/js-jest-mocks/compare |
| 358 | +[semantic versioning]: https://semver.org |
| 359 | +[Sign up with Google Maps Platform]: https://console.cloud.google.com/google/maps-apis/start |
| 360 | +[similar inquiry]: https://github.com/googlemaps/js-jest-mocks/issues |
| 361 | +[SLA]: https://cloud.google.com/maps-platform/terms/sla |
| 362 | +[Technical Support Services Guidelines]: https://cloud.google.com/maps-platform/terms/tssg |
| 363 | +[Terms of Service]: https://cloud.google.com/maps-platform/terms |
0 commit comments