Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !4550

Jest 23 and tests

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/bugzpodder/jest into next Jun 02, 2018
  • Overview 5
  • Commits 51
  • Pipelines 0
  • Changes 11

Created by: bugzpodder

Gonna see if jest tests work now: https://github.com/facebook/create-react-app/issues/2294 Upgrade to jest 23 Convert mocha tests to jest via https://github.com/facebook/create-react-app/pull/2316

Changed CSS test because of a JSDOM parsing issue (it couldn't handle the entire bootstrap css) integration config was added because after ejecting jest would have its own config in package.json and I need to override it via --config. tranformIgnorePatterns change is due to https://github.com/facebook/jest/issues/6385

Note: https://github.com/facebook/jest/pull/6523 '[/\\\\\\\\]node_modules[/\\\\\\\\].+\\.(js|jsx|mjs)$'.replace(/(\/|(.)?\\(?![[\]{}()*+?.^$|\\]))/g, (_match, p1, p2) => (p2 && p2 !== '\\' ? p2 + '\\\\' : '\\\\')) === '[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$'.replace(/(\/|\\(?!\.))/g, '\\\\'); blocked by https://github.com/facebook/jest/issues/6546

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/bugzpodder/jest