Move tests outside versions#2503
Merged
Merged
Conversation
e45db6f to
160f235
Compare
|
Contributor
|
Contributor
ToMESSKa
reviewed
Apr 10, 2026
Comment on lines
+29
to
+30
| import { runAxeCheck } from '@instructure/ui-axe-check' | ||
| import { Breadcrumb } from '../index' | ||
| import { Breadcrumb } from '../v2' |
Contributor
There was a problem hiding this comment.
Is there a reason why it is not is it not import { Breadcrumb } from '@instructure/ui-breadcrumb/latest' like elsewhere?
ToMESSKa
reviewed
Apr 10, 2026
| @@ -29,7 +29,8 @@ import { vi } from 'vitest' | |||
|
|
|||
| import '@testing-library/jest-dom' | |||
| import { runAxeCheck } from '@instructure/ui-axe-check' | |||
| import { RadioInput, type RadioInputHandle } from '../index' | |||
| import { RadioInput } from '@instructure/ui-radio-input/latest' | |||
| import { type RadioInputHandle } from '../v2/index' | |||
Contributor
There was a problem hiding this comment.
see my question on Breadcrumb
Contributor
Contributor
Contributor
|
Also I created a v3 for Avatar and committed but the the whole v3 files are showing me as the author? Maybe I misunderstood something, |
ToMESSKa
requested changes
Apr 10, 2026
43acc78 to
d7a5ce4
Compare
Contributor
d7a5ce4 to
bde02ee
Compare
Contributor
Author
matyasf
reviewed
Apr 20, 2026
| @@ -0,0 +1,420 @@ | |||
| /* | |||
Collaborator
There was a problem hiding this comment.
FYI In the future we should create TypeScript files in ui-scripts, since newer Node versions can run them natively
matyasf
requested changes
Apr 20, 2026
matyasf
left a comment
Collaborator
There was a problem hiding this comment.
looks good, just some small changes needed
bde02ee to
5c54dc9
Compare
1b7b82a to
1c79adb
Compare
ToMESSKa
approved these changes
Apr 24, 2026
1c79adb to
9f4de61
Compare
9f4de61 to
c659071
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




INSTUI-4975
Summary
v1/__tests__/,v2/__tests__/) to component-level__tests__/directories@instructure/ui-<package>/latestinstead of relative versioned paths (e.g.../v2)create-component-versionscript to automate creating new component versions with proper git staging, export ordering, and blame preservationaccepts,getEventFiles,cleanString,measureText,cleanData) out of versioned dirsTest plan
pnpm run test:vitestpasses (all 2100+ tests)pnpm run create-component-versionon a test component and verify:package.jsonis staged./latestappears last in the exports object