Skip to content

Commit

Permalink
Improve test message: replace study_id -> study_name
Browse files Browse the repository at this point in the history
  • Loading branch information
porink0424 committed Apr 10, 2024
1 parent 2f135be commit de0accd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tslib/react/test/PlotHistory.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe("PlotHistory Tests", async () => {
}

for (const study of window.mockStudies) {
test(`PlotHistory (studyId: ${study.study_id})`, () => {
test(`PlotHistory (study name: ${study.study_name})`, () => {
setup({ study, dataTestId: `plot-history-${study.study_id}` })
expect(
screen.getByTestId(`plot-history-${study.study_id}`)
Expand Down
2 changes: 1 addition & 1 deletion tslib/react/test/TrialTable.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe("TrialTable Tests", async () => {
}

for (const study of window.mockStudies) {
test(`TrialTable (studyId: ${study.study_id})`, () => {
test(`TrialTable (study name: ${study.study_name})`, () => {
setup({ study, dataTestId: `trial-table-${study.study_id}` })
expect(
screen.getByTestId(`trial-table-${study.study_id}`)
Expand Down

0 comments on commit de0accd

Please sign in to comment.