Coder Social home page Coder Social logo

digideskio / parrot-jest-image-snapshot-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from americanexpress/parrot-jest-image-snapshot-example

0.0 1.0 0.0 125 KB

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

License: Apache License 2.0

JavaScript 97.42% HTML 2.58%

parrot-jest-image-snapshot-example's Introduction

Is it hot in Phoenix?

Example app to demonstrate parrot and jest-image-snapshot usage

Local development

  1. Set up your API key for OpenWeatherMap and enter it in App.js

  2. Install and start app!

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

This will start app at port 3000.

Testing

npm test # runs all tests
# or
npm run test:unit # only runs unit tests
npm 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 Open Source Community must accept and sign an Agreement indicating agreement to the terms below. Except for the rights granted in this Agreement to American Express and to recipients of software distributed by American Express, You reserve all right, title, and interest, if any, in and to Your Contributions. Please fill out the Agreement.

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

License

Any contributions made under this project will be governed by the Apache License 2.0.

Code of Conduct

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

parrot-jest-image-snapshot-example's People

Contributors

anescobar1991 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.