Git Product home page Git Product logo

webpack-testing-1's Introduction

webpack-testing-1's People

Contributors

mzgoddard avatar

Stargazers

Antério Vieira avatar

Watchers

James Cloos avatar Tyler Kellen avatar  avatar

webpack-testing-1's Issues

style loader feedback

  1. In step 4 you indicate the usage of yarn run dev to see a failure. After providing the fix in steps 5 and 6, step 7 indicates the user should see the resolution with yarn test. I think you should insert a step that illustrates yarn run dev works, and instruct the user to view the results in the browser.

  2. In step 8 and 10 you indicate some additional properties should be added to the moduleNameMapper section of jest's configuration. The code snippet appears like so:

"moduleNameMapper": {
  "\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"

I think it would be clearer if you showed this:

  "\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"

...and said to insert it into moduleNameMapper. The way you show the code snippet now makes me think the section should be wholesale replaced.

  1. In step 9 you reference colloquially "the tests rely on on CSS Module behaviour to lookup smaller parts of the rendered components." What CSS Module behaviour?

  2. On step 11 you dive into an explanation of what identity-obj-proxy is doing but I find it rather opaque. Perhaps you could introduce a series of additional steps showing what it's actually doing in an interactive way?

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.