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

Conversation

gricard
Copy link
Owner

@gricard gricard commented Oct 2, 2017

Summary

Test plan

recca0120 and others added 16 commits September 28, 2017 12:56
)

* --showConfig to show all project configs #4078

* return configs

* new method getConfigs

* new method getConfigs

* call completed

* eslint
* [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'`
* 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
* 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?
* 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
* 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
* [jest-docblock] add strip

* add a couple tests

* off by one error

* improve code as per @cpojers suggestion
* added watch mode and test_reconciler changes + upgrade typescript version

* upgrade typescript (jest-test-typescript-parser)

* clean up
* --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
* Increase coverage in jest-diff

* Have fun with toJSON
@gricard gricard merged commit 5ed77b0 into gricard:master Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.