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

Update from master #1

Merged
merged 16 commits into from
Oct 2, 2017
Merged

Update from master #1

merged 16 commits into from
Oct 2, 2017

Commits on Sep 28, 2017

  1. --showConfig change to show all config, jest-editor-support fails (#4494

    )
    
    * --showConfig to show all project configs #4078
    
    * return configs
    
    * new method getConfigs
    
    * new method getConfigs
    
    * call completed
    
    * eslint
    recca0120 authored and cpojer committed Sep 28, 2017
    Configuration menu
    Copy the full SHA
    ff469e0 View commit details
    Browse the repository at this point in the history
  2. [jest-docblock] add docblock.print() (#4517)

    * [jest-docblock]: add docblock.print()
    
    * Add missing flow type, clean up
    
    * Fix docs typo
    
    * Fix doc typo
    
    * [WIP] add docblock.parseWithComments()
    
    * Detect newline character, consolidate API
    
    * Fixup types
    
    * Remove default export from jest-docblock
    
    BREAKING CHANGE: Changes jest-docblock to an ES module without a default export,
    requires `import * as docblock from 'jest-docbloc'`
    azz authored and cpojer committed Sep 28, 2017
    Configuration menu
    Copy the full SHA
    80bd4cd View commit details
    Browse the repository at this point in the history
  3. jest-runtime: move babel-core to peer dependenies (#4557)

    Vlad Zhukov authored and cpojer committed Sep 28, 2017
    Configuration menu
    Copy the full SHA
    1fcffab View commit details
    Browse the repository at this point in the history
  4. docs: mention about optional done argument in test fn (#4556)

    * docs(testAPI): mention about optional `done` argument
    
    I've run into an issue that my test hangs because I've defined the parameter for the test callback. Could be handy to mention that.
    
    * Update GlobalAPI.md
    jukben authored and cpojer committed Sep 28, 2017
    Configuration menu
    Copy the full SHA
    1e3ee68 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9af7bef View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2017

  1. feat(jest-editor-snapshot): Add Snapshots metadata (#4570)

    * first iteration
    
    * Use babel-traverse
    
    * comments on the pr
    
    * feat(jest-editor-support): Add Snapshot metadata
    
    Following #2629, I rebased the code on current master. I still have to
    actually test the feature with jest-community/vscode-jest#73.
    
    What i would like to add ultimately is the ability to:
    - preview the snapshot
    - have the snapshot diff
    - have a button to accept diff per snapshot (would update it)
    
    WDYT?
    vvo authored and cpojer committed Sep 30, 2017
    Configuration menu
    Copy the full SHA
    e81f1fb View commit details
    Browse the repository at this point in the history
  2. chore(vscode): ease flow usage (#4569)

    * chore(vscode): ease flow usage
    
    Following https://github.com/flowtype/flow-for-vscode#setup they recommend setting `"javascript.validate.enable": false` in workspace settings, otherwise I get errors like "... can only be used in a .ts file".
    
    As I am new to flow and vscode I might be wrong, let me know vscode users contributing to Jest how it works for you today?
    
    * Update settings.json
    vvo authored and cpojer committed Sep 30, 2017
    Configuration menu
    Copy the full SHA
    cfe1a9a View commit details
    Browse the repository at this point in the history
  3. Add simple rAF polyfill in jsdom environment (#4568)

    * Add simple rAF polyfill in jsdom environment
    
    Closes #4545
    
    * Fix flow error
    
    * Tweak test
    
    * Try to log out stderr on CI
    
    * Use snake case naming for test file
    
    * Update to newest yarn on ci
    
    * Revert "Try to log out stderr on CI"
    
    This reverts commit 08d58c5.
    
    * Remove extra -- from appveyor to avoid warning on newer yarn
    
    * Include time since window initialised in rAF implementation
    SimenB authored and cpojer committed Sep 30, 2017
    Configuration menu
    Copy the full SHA
    216e8ed View commit details
    Browse the repository at this point in the history
  4. [jest-docblock] add strip (#4571)

    * [jest-docblock] add strip
    
    * add a couple tests
    
    * off by one error
    
    * improve code as per @cpojers suggestion
    samouri authored and cpojer committed Sep 30, 2017
    Configuration menu
    Copy the full SHA
    4a3ab53 View commit details
    Browse the repository at this point in the history
  5. Update CODEOWNERS (#4573)

    orta authored and cpojer committed Sep 30, 2017
    Configuration menu
    Copy the full SHA
    ec87e1f View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2017

  1. Vscode jest monorepo support (#4572)

    * added watch mode and test_reconciler changes + upgrade typescript version
    
    * upgrade typescript (jest-test-typescript-parser)
    
    * clean up
    connectdotz authored and cpojer committed Oct 1, 2017
    Configuration menu
    Copy the full SHA
    c89ee8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e5d149 View commit details
    Browse the repository at this point in the history
  3. --showConfig support jest20 and jest21 (#4575)

    * --showConfig to show all project configs #4078
    
    * return configs
    
    * new method getConfigs
    
    * new method getConfigs
    
    * call completed
    
    * eslint
    
    * support jest 20
    
    * lint
    
    * version
    
    * getConfig for jest21
    
    * lint
    
    * fix jest20 bug
    
    * fix bug
    
    * lint
    
    * add type ConfigRepresentations
    
    * remove ConfigRepresentations
    
    * update
    recca0120 authored and cpojer committed Oct 1, 2017
    Configuration menu
    Copy the full SHA
    eff7a1c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b430e51 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2017

  1. Configuration menu
    Copy the full SHA
    d355b3b View commit details
    Browse the repository at this point in the history
  2. Increase coverage in jest-diff (#4583)

    * Increase coverage in jest-diff
    
    * Have fun with toJSON
    pedrottimark authored and cpojer committed Oct 2, 2017
    Configuration menu
    Copy the full SHA
    7aa3017 View commit details
    Browse the repository at this point in the history