forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into pr/7167
* upstream/master: (391 commits) more precise circus asyncError types (jestjs#8150) Add typeahead watch plugin (jestjs#6449) fix: getTimerCount not taking immediates and ticks into account (jestjs#8139) website: add an additional filter predicate to backers (jestjs#7286) [🔥] Revised README (jestjs#8076) [jest-each] Fix test function type (jestjs#8145) chore: improve bug template labels for easier maintenance (jestjs#8141) Add documentation related to auto-mocking (jestjs#8099) Add support for bigint to pretty-format (jestjs#8138) Revert "Add fuzzing based tests in Jest (jestjs#8012)" chore: remove console.log chore: Improve description of optional arguments in ExpectAPI.md (jestjs#8126) Add fuzzing based tests in Jest (jestjs#8012) Move @types/node to the root package.json (jestjs#8129) chore: use property initializer syntax (jestjs#8117) chore: delete flow types from the repo (jestjs#8061) Move changelog entry to the proper version (jestjs#8115) Release 24.5.0 Expose throwOnModuleCollision (jestjs#8113) add matchers to expect type (jestjs#8093) ...
- Loading branch information
Showing
2,424 changed files
with
249,505 additions
and
132,242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# | ||
# Steps for building and testing Jest. See jobs defined in .azure-pipelines.yml | ||
# | ||
|
||
# Clones the repo | ||
steps: | ||
- checkout: self | ||
|
||
# Ensure Node.js 10 is active | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '10.x' | ||
displayName: 'Use Node.js 10' | ||
|
||
# Ensure Python 2.7 is active | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '2.7' | ||
displayName: 'Use Python 2.7' | ||
|
||
# Workaround to move source files under a "jest" folder (see .azure-pipelines.yml for details) | ||
- script: | | ||
cd / | ||
mv $(Build.Repository.LocalPath) $(JEST_DIR) | ||
mkdir $(Build.Repository.LocalPath) | ||
displayName: 'Move source into jest folder' | ||
# Run yarn to install dependencies and build | ||
- script: yarn --frozen-lockfile | ||
workingDirectory: $(JEST_DIR) | ||
displayName: 'Install dependencies and build' | ||
|
||
# Run test-ci-partial | ||
- script: yarn run test-ci-partial | ||
workingDirectory: $(JEST_DIR) | ||
displayName: 'Run tests' | ||
|
||
# Publish CI test results | ||
- task: PublishTestResults@2 | ||
inputs: | ||
testResultsFiles: '**/reports/junit/*.xml' | ||
searchFolder: $(JEST_DIR) | ||
testRunTitle: 'CI Tests $(Agent.OS)' | ||
displayName: 'Publish test results' | ||
condition: succeededOrFailed() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# Azure Pipelines configuration for building and testing Jest on Linux, Windows, and macOS. | ||
# | ||
|
||
jobs: | ||
- job: Linux | ||
pool: | ||
vmImage: ubuntu-16.04 | ||
steps: | ||
- template: .azure-pipelines-steps.yml | ||
|
||
- job: Windows | ||
pool: | ||
vmImage: vs2017-win2016 | ||
steps: | ||
- script: | | ||
git config --global core.autocrlf false | ||
git config --global core.symlinks true | ||
displayName: 'Preserve LF endings and symbolic links on check out' | ||
- template: .azure-pipelines-steps.yml | ||
|
||
- job: macOS | ||
pool: | ||
vmImage: macos-10.13 | ||
steps: | ||
# This step can be removed once Mercurial gets installed on the macOS image. See https://github.com/Microsoft/azure-pipelines-image-generation/issues/604 | ||
- script: HOMEBREW_NO_AUTO_UPDATE=1 brew install mercurial | ||
displayName: 'Install Mercurial' | ||
- template: .azure-pipelines-steps.yml | ||
|
||
variables: | ||
# Used by chalk. Ensures output from Jest includes ANSI escape characters that are needed to match test snapshots. | ||
FORCE_COLOR: 1 | ||
|
||
# By default, Azure Pipelines clones to an "s" directory, which causes tests to fail due to assumption of Jest being run from a "jest" directory. | ||
# See packages/jest-message-util/src/index.js PATH_JEST_PACKAGES for more details. | ||
JEST_DIR: $(Agent.BuildDirectory)/jest | ||
|
||
# Ensures the handful of tests that should be skipped during CI are | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
name: 🚀 Feature Proposal | ||
labels: ':rocket: Feature Request' | ||
about: Submit a proposal for a new feature | ||
--- | ||
|
||
|
Oops, something went wrong.