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

[WIP] Migrate from Jest framework to vitest #1526

Closed
wants to merge 6 commits into from

test: Update test suites

fb2deb7
Select commit
Loading
Failed to load commit list.
Closed

[WIP] Migrate from Jest framework to vitest #1526

test: Update test suites
fb2deb7
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request required action Jan 5, 2024 in 5m 40s

Build Errored

The build errored. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #1526 [WIP] Migrate from Jest framework to vitest.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Node.js
Operating System Linux (Xenial)
Node.js Version 16
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "sudo": true,
  "branches": {
    "only": [
      "main",
      "stage-stable",
      "prod-beta",
      "prod-stable"
    ]
  },
  "notifications": {
    "email": [
      {
        "enabled": false
      }
    ]
  },
  "node_js": [
    "16"
  ],
  "cache": {
    "npm": false
  },
  "install": [
    "npm ci"
  ],
  "before_script": [
    "npm run api && [ -z \"$(git status --porcelain=v1 2>/dev/null)\" ] && echo \" No manual API changes.\" || echo \" API manually changed, please refer to the README for the procedure to follow for programmatically generated API endpoints.\" && [ -z \"$(git status --porcelain=v1 2>/dev/null)\" ]\n"
  ],
  "script": [
    "NODE_ENV=production npm run build",
    "npm run lint",
    "npm run test",
    "npx codecov"
  ],
  "after_success": [
    "curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s"
  ],
  "env": [
    "global={:DEPLOY_REPO=>\"\\\"[email protected]:RedHatInsights/image-builder-frontend-build\\\"\"}={:NODE_OPTIONS=>\"\\\"--max-old-space-size=4096 --max_old_space_size=4096\\\"\"}"
  ]
}