Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

✨ Example demonstrating usage of parrot for more deterministic jest-image-snapshot tests

License

NotificationsYou must be signed in to change notification settings

americanexpress/parrot-jest-image-snapshot-example

Example app to demonstrateparrot andjest-image-snapshot usage

Local development

  1. Set up yourAPI key for OpenWeatherMap and enter it inApp.js

  2. Install and start app!

npm installnpm start# ornpm run start:parrot# to start with parrot mocks enabled and not require an API key for OpenWeatherMap

This will start app at port3000.

Testing

npmtest# runs all tests# ornpm run test:unit# only runs unit testsnpm run test:browser# only runs browser tests

Contributing

We welcome Your interest in the American Express Open Source Community on Github.Any Contributor to any Open Source Project managed by the American Express OpenSource Community must accept and sign an Agreement indicating agreement to theterms below. Except for the rights granted in this Agreement to American Expressand to recipients of software distributed by American Express, You reserve allright, title, and interest, if any, in and to Your Contributions. Pleasefillout the Agreement.

Please feel free to open pull requests and seeCONTRIBUTING.md for commit formatting details.

License

Any contributions made under this project will be governed by theApache License2.0.

Code of Conduct

This project adheres to theAmerican Express Community Guidelines.By participating, you are expected to honor these guidelines.

About

✨ Example demonstrating usage of parrot for more deterministic jest-image-snapshot tests

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors6


[8]ページ先頭

©2009-2025 Movatter.jp