Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 1 addition & 17 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
run: npm run bootstrap
- name: Run vitest unit tests
run: npm run test:vitest
- name: Run codemods unit tests
run: npm run test:codemods
cypress:
name: Cypress component tests
runs-on: ubuntu-latest
Expand All @@ -52,18 +50,4 @@ jobs:
run: npm run bootstrap
- name: Run Cypress components tests
run: npm run cy:component
legacy-tests:
name: Legacy unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Bootstrap project
run: npm run bootstrap
- name: Run legacy unit tests
run: npm run test

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up project.
run: npm run bootstrap
- name: Run tests.
run: USE_REACT_STRICT_MODE=0 npm run test && npm run test:vitest
run: USE_REACT_STRICT_MODE=0 npm run test:vitest
- name: Release to NPM
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down
4 changes: 1 addition & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ const finalConfig = tseslint.config(
{
// Vitest tests
files: [
'**/__new-tests__/**',
'packages/ui-codemods/__tests__/*'
'**/__tests__/**'
],
plugins: {
vitest
Expand All @@ -182,7 +181,6 @@ const finalConfig = tseslint.config(
},
{ // Do not check unit tests for a11y
ignores: [
'**/__new-tests__/**',
'**/__tests__/**'
],
plugins: {
Expand Down
11 changes: 0 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@
"start": "npm run start --workspace=docs-app",
"start:watch": "npm run start:watch --workspace=docs-app",
"dev": "npm run start:watch",
"test": "ui-scripts test --randomize",
"cy:component": "cypress run --component",
"test:vitest": "vitest --watch=false",
"test:vitest-watch": "vitest",
"test:codemods": "vitest --watch=false --root=packages/ui-codemods",
"lint": "lerna run lint --stream",
"lint:changes": "npm run lint -- --since HEAD^",
"lint:fix": "lerna run lint:fix --stream",
Expand Down
50 changes: 0 additions & 50 deletions packages/ui-alerts/src/Alert/__tests__/theme.test.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/ui-avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"@instructure/ui-axe-check": "10.19.1",
"@instructure/ui-babel-preset": "10.19.1",
"@instructure/ui-color-utils": "10.19.1",
"@instructure/ui-test-locator": "10.19.1",
"@instructure/ui-test-utils": "10.19.1",
"@instructure/ui-themes": "10.19.1",
"@testing-library/jest-dom": "^6.6.3",
Expand Down
Loading
Loading