Skip to content

Commit 6d6c5b7

Browse files
committed
fix: typo, lint
1 parent 926e67b commit 6d6c5b7

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

packages/gatsby-theme-iterative/src/utils/shared/redirects.test.js

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ describe('getRedirects', () => {
174174
describe('toS3', () => {
175175
itRedirects(
176176
'https://code.dvc.org/foo/bar',
177-
'https://r2.dvc.or/code/foo/bar',
177+
'https://r2.dvc.org/code/foo/bar',
178178
303
179179
)
180180

@@ -190,23 +190,11 @@ describe('getRedirects', () => {
190190
303
191191
)
192192

193-
itRedirects(
194-
'/exe/foo',
195-
'https://r2.dvc.org/dvc-pkgs/exe/foo',
196-
303
197-
)
193+
itRedirects('/exe/foo', 'https://r2.dvc.org/dvc-pkgs/exe/foo', 303)
198194

199-
itRedirects(
200-
'/deb/foo',
201-
'https://r2.dvc.org/dvc-pkgs/deb/foo',
202-
303
203-
)
195+
itRedirects('/deb/foo', 'https://r2.dvc.org/dvc-pkgs/deb/foo', 303)
204196

205-
itRedirects(
206-
'/rpm/foo',
207-
'https://r2.dvc.org/dvc-pkgs/rpm/foo',
208-
303
209-
)
197+
itRedirects('/rpm/foo', 'https://r2.dvc.org/dvc-pkgs/rpm/foo', 303)
210198
})
211199

212200
describe('toDiscord', () => {

0 commit comments

Comments
 (0)