19 Matching Annotations
  1. Last 7 days
    1. Various test runners support using compiled webpack code to drive tests, but may be difficult to integrate with webpack, and Neutrino helps alleviate this
  2. Nov 2019
    1. Tests implementation details a bit (child component props received), but pretty good other than that.

      https://www.robinwieruch.de/react-testing-tutorial, for example, says that is reasonable to do:

      an integration test could verify that all necessary props are passed through from the tested component to a specific child component.

  3. Dec 2018
    1. In this setup, it is common to test app.js and want to either not call the actual math.js functions, or spy them to make sure they’re called as expected.

      key point about what spies are

  4. Nov 2018
    1. Mocking localStorage is optional, but without mocking getComputedStyle your test won’t run, as Angular checks in which browser it executes. We need to fake it.

      key point

    1. Let’s take a couple of steps back, and ask ourselves if we want to test our library and our application at the same time? I don’t think this is what we want, right? We rather want to:test our librarybuild our library; when all the library tests are successfultest our application; when the library is built

      Key point

  5. Sep 2018
  6. May 2015
    1. n the head and the body, in the way of listening

      "Commit this to memory. Head is body." (Infinite Jest, p. 159)

  7. Oct 2013
    1. As to jests. These are supposed to be of some service in controversy. Gorgias said that you should kill your opponents' earnestness with jesting and their jesting with earnestness; in which he was right. Jests have been classified in the Poetics. Some are becoming to a gentleman, others are not; see that you choose such as become you.
    1. Gorgias said that you should kill your opponents' earnestness with jesting and their jesting with earnestness;

      This will only work, though, if your audience looks to you as some sort of authority figure - if you don't seem to know what you're talking about, I think that doing what Gorgias suggests would only make you look foolish.