Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make prettier optional for inline snapshots #7792

Merged
merged 110 commits into from Nov 15, 2020

Commits on Feb 3, 2019

  1. Copy the full SHA
    6ba49b8 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ca8cc43 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    15701bf View commit details
    Browse the repository at this point in the history
  4. add end of file newline

    mmkal committed Feb 3, 2019
    Copy the full SHA
    2658e2c View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    9aeac1a View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    e9a2b07 View commit details
    Browse the repository at this point in the history
  7. update changelog

    mmkal committed Feb 3, 2019
    Copy the full SHA
    9594ea2 View commit details
    Browse the repository at this point in the history
  8. remove trailing whitespace

    mmkal committed Feb 3, 2019
    Copy the full SHA
    3bc79e7 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    1555d65 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2019

  1. lint

    mmkal committed Feb 4, 2019
    Copy the full SHA
    cc921cc View commit details
    Browse the repository at this point in the history
  2. use prettier --write

    mmkal committed Feb 4, 2019
    Copy the full SHA
    0c2547e View commit details
    Browse the repository at this point in the history
  3. add @babel/parser as snapshot dependency

    had to do this manually; node-gyp is not playing nicely with windows. if CI complains I'll try on a mac.
    mmkal committed Feb 4, 2019
    Copy the full SHA
    69016b1 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    716a620 View commit details
    Browse the repository at this point in the history
  5. shorten comment

    mmkal committed Feb 4, 2019
    Copy the full SHA
    dbb3bcf View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2019

  1. Copy the full SHA
    93bb88b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'uglier-inline-snapshots' of https://github.com/mmkal/jest

    … into uglier-inline-snapshots
    mmkal committed Feb 5, 2019
    Copy the full SHA
    59c0cb1 View commit details
    Browse the repository at this point in the history
  3. prettier fixes

    mmkal committed Feb 5, 2019
    Copy the full SHA
    ac57288 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2019

  1. Copy the full SHA
    bee86ee View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2019

  1. Copy the full SHA
    188d731 View commit details
    Browse the repository at this point in the history
  2. add @babel/core dependency

    mmkal committed Feb 12, 2019
    Copy the full SHA
    6ecb0a4 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2019

  1. Copy the full SHA
    2ed041e View commit details
    Browse the repository at this point in the history
  2. fix merge errors

    mmkal committed Mar 4, 2019
    Copy the full SHA
    2f3f2e1 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8c820d6 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    5ef7328 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    741ca7f View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    4f5ea4b View commit details
    Browse the repository at this point in the history
  7. prettier fix #123532

    mmkal committed Mar 4, 2019
    Copy the full SHA
    4a4d86c View commit details
    Browse the repository at this point in the history
  8. move changelog entry

    mmkal committed Mar 4, 2019
    Copy the full SHA
    a4d30a7 View commit details
    Browse the repository at this point in the history
  9. lint fixes

    mmkal committed Mar 4, 2019
    Copy the full SHA
    f77b104 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    e94e95d View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2019

  1. Copy the full SHA
    f5dd3d3 View commit details
    Browse the repository at this point in the history
  2. lint

    not sure about the OOM errors on jest-circus. I hope these changes didn't do that...
    mmkal committed Mar 11, 2019
    Copy the full SHA
    a102014 View commit details
    Browse the repository at this point in the history
  3. prettier changelog

    mmkal committed Mar 11, 2019
    Copy the full SHA
    9215a44 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2019

  1. Copy the full SHA
    f9bbf05 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2019

  1. Copy the full SHA
    c504dee View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2019

  1. Copy the full SHA
    97e609e View commit details
    Browse the repository at this point in the history
  2. fix conflicts

    mmkal committed Apr 11, 2019
    Copy the full SHA
    3e92e6c View commit details
    Browse the repository at this point in the history
  3. add todo

    mmkal committed Apr 11, 2019
    Copy the full SHA
    5f26766 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    eea3199 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    442f1cd View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    121ddaf View commit details
    Browse the repository at this point in the history
  7. trim babel's creativity again

    mmkal committed Apr 11, 2019
    Copy the full SHA
    9a46420 View commit details
    Browse the repository at this point in the history
  8. clean up

    mmkal committed Apr 11, 2019
    Copy the full SHA
    ae376f6 View commit details
    Browse the repository at this point in the history
  9. prettier

    mmkal committed Apr 11, 2019
    Copy the full SHA
    38c3c32 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    b92f988 View commit details
    Browse the repository at this point in the history
  11. oops

    mmkal committed Apr 11, 2019
    Copy the full SHA
    a8ce8c1 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. Copy the full SHA
    2d7d3b0 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2019

  1. Copy the full SHA
    173835e View commit details
    Browse the repository at this point in the history
  2. prettier

    mmkal committed Jun 23, 2019
    Copy the full SHA
    6fae9d1 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    87d79d2 View commit details
    Browse the repository at this point in the history
  4. prettier

    mmkal committed Jun 23, 2019
    Copy the full SHA
    c787b8d View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. alphabetize imports

    mmkal committed Jun 25, 2019
    Copy the full SHA
    81d63aa View commit details
    Browse the repository at this point in the history
  2. move changelog entry to master

    mmkal committed Jun 25, 2019
    Copy the full SHA
    5205259 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2019

  1. Copy the full SHA
    d97f6cf View commit details
    Browse the repository at this point in the history
  2. prettier

    mmkal committed Jun 29, 2019
    Copy the full SHA
    127d492 View commit details
    Browse the repository at this point in the history
  3. prettier

    mmkal committed Jun 29, 2019
    Copy the full SHA
    2ef0b1b View commit details
    Browse the repository at this point in the history
  4. prettier!

    mmkal committed Jun 29, 2019
    Copy the full SHA
    e0d50a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2019

  1. Copy the full SHA
    4c39c17 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    11b2309 View commit details
    Browse the repository at this point in the history
  3. prettier

    mmkal committed Oct 19, 2019
    Copy the full SHA
    49ae9ea View commit details
    Browse the repository at this point in the history
  4. null check

    mmkal committed Oct 19, 2019
    Copy the full SHA
    fa29eab View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2019

  1. Copy the full SHA
    8262b0d View commit details
    Browse the repository at this point in the history
  2. fix: lint issues

    running yarn lint:prettier edited a bunch of markdown files for me, but I don't really want to check them in
    mmkal committed Nov 9, 2019
    Copy the full SHA
    b4d7dd1 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    22c1e4e View commit details
    Browse the repository at this point in the history
  4. oh dear more lint

    mmkal committed Nov 9, 2019
    Copy the full SHA
    12393d7 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    6d4815f View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    b2dfa56 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    2bc8090 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2020

  1. Merge remote-tracking branch 'upstream/master' into uglier-inline-sna…

    …pshots
    
    * upstream/master: (225 commits)
      docs: add CLA link to contributing docs (jestjs#9789)
      chore: roll new version of docs
      v25.3.0
      chore: update changelog for release
      chore(jest-types): correct type testRegex for ProjectConfig (jestjs#9780)
      feat(circus): enable writing async test event handlers (jestjs#9397)
      feat: enable all babel syntax plugins (jestjs#9774)
      chore: add helper for getting Jest's config in e2e tests (jestjs#9770)
      feat: pass ESM options to transformers (jestjs#9597)
      chore: replace `any`s with `unknown`s (jestjs#9626)
      feat: pass ESM options to Babel (jestjs#9766)
      chore(website): add copy button the code blocks (jestjs#9750)
      chore: bump istanbul-reports for new uncovered lines design (jestjs#9758)
      chore: correct CHANGELOG.md (jestjs#9763)
      chore(jest-types): expose type `CacheKeyOptions` for `getCacheK… (jestjs#9762)
      docs: Fix simple typo, seperated -> separated (jestjs#9760)
      v25.2.7
      chore: update changelog for release
      fix: drop getters and setters when diffing objects for error (jestjs#9757)
      chore(jest-types): correct return type of shouldRunTestSuite fo… (jestjs#9753)
      ...
    jeysal committed Apr 10, 2020
    Copy the full SHA
    1b10dc8 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    5fe9929 View commit details
    Browse the repository at this point in the history
  3. correct changelog position

    jeysal committed Apr 10, 2020
    Copy the full SHA
    449999d View commit details
    Browse the repository at this point in the history
  4. extract runPrettier fn

    jeysal committed Apr 10, 2020
    Copy the full SHA
    5ae7f0f View commit details
    Browse the repository at this point in the history
  5. Babel parse correctly

    jeysal committed Apr 10, 2020
    Copy the full SHA
    8ebb456 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2020

  1. dedupe babel deps

    SimenB committed Apr 11, 2020
    Copy the full SHA
    0d2ea99 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2020

  1. Update packages/jest-snapshot/src/inline_snapshots.ts

    Co-Authored-By: Simen Bekkhus <sbekkhus91@gmail.com>
    jeysal and SimenB committed Apr 12, 2020
    Copy the full SHA
    355bde6 View commit details
    Browse the repository at this point in the history
  2. plugin-syntax-typescript dep

    jeysal committed Apr 12, 2020
    Copy the full SHA
    26acdd0 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    6f48559 View commit details
    Browse the repository at this point in the history
  4. babel core peer dep

    jeysal committed Apr 12, 2020
    Copy the full SHA
    784b3d7 View commit details
    Browse the repository at this point in the history
  5. lint

    jeysal committed Apr 12, 2020
    Copy the full SHA
    81f12a4 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    dae5678 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2020

  1. Merge remote-tracking branch 'upstream/master' into uglier-inline-sna…

    …pshots
    
    * upstream/master: (39 commits)
      Prints the Symbol name into the error message with a custom asymmetric matcher (jestjs#9888)
      Show coverage of sources related to tests in changed files (jestjs#9769)
      fix: don't /// <reference types="jest" /> (jestjs#9875)
      noCodeFrame respects noStackTrace (jestjs#9866)
      chore: update example to react-native@0.62 (jestjs#9746)
      Improve source map handling when instrumenting transformed code (jestjs#9811)
      Update .vscode/launch.json settings (jestjs#9868)
      chore: verify all packages have the same engine requirement (jestjs#9871)
      fix: pass custom cached realpath function to `resolve` (jestjs#9873)
      chore: mock stealthy-require in tests (jestjs#9855)
      chore: update resolve (jestjs#9872)
      chore: run CircleCI on node 14 (jestjs#9870)
      Add an option to vscode settings to always use workspace TS (jestjs#9869)
      fix(esm): handle parallel imports (jestjs#9858)
      chore: run CI on Node 14 (jestjs#9861)
      feat: add `@jest/globals` package for importing globals explici… (jestjs#9849)
      chore: bump resolve package (jestjs#9859)
      chore(runtime): simplify `createJestObjectFor` (jestjs#9857)
      chore: fix symlink creation failures on windows in tests (jestjs#9852)
      chore: skip mercurial tests when no hg installed (jestjs#9840)
      ...
    jeysal committed Apr 26, 2020
    Copy the full SHA
    27cf6e0 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. Copy the full SHA
    3f89b25 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    eb5b9d3 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. review improvements

    jeysal committed Apr 28, 2020
    Copy the full SHA
    e141ace View commit details
    Browse the repository at this point in the history
  2. lint

    jeysal committed Apr 28, 2020
    Copy the full SHA
    faed042 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'runtime-require-resolve-outside' into uglier-inline-sna…

    …pshots
    
    * runtime-require-resolve-outside:
      lint
      review improvements
      implement require.resolve option outsideJestVm for internal modules only
      basic jest-runtime require.resolve test
      Fix dead link to coverage CLI option (jestjs#9905)
      chore: remove dated node 6 reference from docs (jestjs#9895)
      Use the new serializer plugin API in example (jestjs#9847)
      chore: remove unused catch clauses (jestjs#9893)
    jeysal committed Apr 28, 2020
    Copy the full SHA
    49bed60 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    fc086cc View commit details
    Browse the repository at this point in the history
  5. use Symbol key for resolve option

    This means other tools (e.g. Yarn PnP) should ignore the unknown option
    jeysal committed Apr 28, 2020
    Copy the full SHA
    a2a05bd View commit details
    Browse the repository at this point in the history
  6. Merge branch 'runtime-require-resolve-outside' into uglier-inline-sna…

    …pshots
    
    * runtime-require-resolve-outside:
      use Symbol key for resolve option
    jeysal committed Apr 28, 2020
    Copy the full SHA
    a6d6d36 View commit details
    Browse the repository at this point in the history
  7. Update CHANGELOG.md

    jeysal committed Apr 28, 2020
    Copy the full SHA
    7efccac View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2020

  1. Merge branch 'master' into uglier-inline-snapshots

    * master: (398 commits)
      chore(breaking): remove undocumented `enabledTestsMap` config (jestjs#10787)
      Change expect.not.objectContaining() to match documentation (jestjs#10708)
      chore: add name to root project (jestjs#10782)
      Added explanation on how to use custom @jest-environment to docs (jestjs#10783)
      fix: remove deprecated functions from the jest object (jestjs#9853)
      chore: convert jest-runtime to ESM (jestjs#10325)
      fix(resolve): use escalade to find package.json (jestjs#10781)
      feat(jest-runner): set exit code to 1 if test logs after teardown (jestjs#10728)
      chore: add `exports` field to all `package.json`s (jestjs#9921)
      fix: do not inject `global` variable into module wrapper (jestjs#10644)
      chore: migrate jest-resolve to ESM (jestjs#10688)
      chore(transform): refactor API to pass an options bag around rather than multiple boolean options (jestjs#10753)
      chore: default to node test env rather than browser (jestjs#9874)
      fix: drop support for node 13 (jestjs#10685)
      chore: show enhanced syntax error for all syntax errors (jestjs#10749)
      chore: update lockfile after publish
      v26.6.3
      chore: update changelog for release
      Don't throw an error if mock dependency can't be found (jestjs#10779)
      chore: bump babel core types (jestjs#10772)
      ...
    jeysal committed Nov 8, 2020
    Copy the full SHA
    13c960e View commit details
    Browse the repository at this point in the history
  2. changelog merge

    jeysal committed Nov 8, 2020
    Copy the full SHA
    06a7fb0 View commit details
    Browse the repository at this point in the history
  3. merge fixup

    jeysal committed Nov 8, 2020
    Copy the full SHA
    478d8f6 View commit details
    Browse the repository at this point in the history
  4. yarn.lock merge

    jeysal committed Nov 8, 2020
    Copy the full SHA
    b3e2f73 View commit details
    Browse the repository at this point in the history
  5. merge amends

    jeysal committed Nov 8, 2020
    Copy the full SHA
    f375ece View commit details
    Browse the repository at this point in the history
  6. merge amends

    jeysal committed Nov 8, 2020
    Copy the full SHA
    a641fdd View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. semantic merge for test

    jeysal committed Nov 10, 2020
    Copy the full SHA
    81bc81e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into uglier-inline-snapshots

    * master:
      chore(docs): update TutorialReactNative.md (jestjs#10802)
      fix: console dir should respect options (jestjs#10638)
      docs: add missing "--roots" options (jestjs#10793)
    jeysal committed Nov 10, 2020
    Copy the full SHA
    be68e58 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2020

  1. lint

    jeysal committed Nov 11, 2020
    Copy the full SHA
    36efffa View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2020

  1. Merge branch 'master' into uglier-inline-snapshots

    * master:
      chore: bump deps (jestjs#10821)
      fix(reporters): make sure to handle empty files in v8 coverage (jestjs#10819)
      fix: add `watchAll` to Valid config (jestjs#10804)
    jeysal committed Nov 14, 2020
    Copy the full SHA
    c53a579 View commit details
    Browse the repository at this point in the history
  2. use babel stuff

    jeysal committed Nov 14, 2020
    Copy the full SHA
    f261822 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into uglier-inline-snapshots

    * master:
      chore: make requiring from outside the Jest VM easier w/ a Babel plugin (jestjs#10824)
    jeysal committed Nov 14, 2020
    Copy the full SHA
    9651814 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    857d5eb View commit details
    Browse the repository at this point in the history
  5. prettier 2 devdep

    jeysal committed Nov 14, 2020
    Copy the full SHA
    7f97e87 View commit details
    Browse the repository at this point in the history
  6. types

    jeysal committed Nov 14, 2020
    Copy the full SHA
    d72b98f View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    8364ca1 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    5536359 View commit details
    Browse the repository at this point in the history
  9. update snapshot formatting

    jeysal committed Nov 14, 2020
    Copy the full SHA
    c4156b0 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2020

  1. use upstream types

    SimenB committed Nov 15, 2020
    Copy the full SHA
    b6327e4 View commit details
    Browse the repository at this point in the history
  2. remove obsolete circus deps

    jeysal committed Nov 15, 2020
    Copy the full SHA
    69f8f0d View commit details
    Browse the repository at this point in the history