7 Matching Annotations
  1. 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

  2. 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

  3. Sep 2018
  4. 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)

  5. 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.