Skip to content

Commit

Permalink
Merge pull request #11900 from qmonmert/vitestfor
Browse files Browse the repository at this point in the history
Vitest: describe.each => describe.for
  • Loading branch information
murdos authored Feb 12, 2025
2 parents 1eae4e8 + 11290bf commit 489b2d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const wrap = (): VueWrapper => {
};

describe('Router', () => {
describe.each([['/'], ['/home']])('Navigation on HomepageVue', url => {
describe.for([['/'], ['/home']])('Navigation on HomepageVue', url => {
it(`should navigate on HomepageVue when the URL is ${url}`, async () => {
router.push(url);
Expand Down
2 changes: 1 addition & 1 deletion src/test/webapp/unit/router/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const repositoryWithModuleParameters = (): ModuleParametersRepositoryStub => {
};

describe('Router', () => {
describe.each([['/'], ['/landscape']])('Navigation on LandscapeVue', url => {
describe.for([['/'], ['/landscape']])('Navigation on LandscapeVue', url => {
it(`should navigate on LandscapeVue when the URL is ${url}`, async () => {
router.push(url);

Expand Down

0 comments on commit 489b2d0

Please sign in to comment.