Skip to content

Commit 154bff2

Browse files
committed
test: remove some of the hard coded strings
1 parent 5d7027d commit 154bff2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/next/test/request.spec.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ describe('MiddlewareRequest', () => {
1919
const context = {
2020
geo: {
2121
country: {
22-
code: '',
22+
code: chance.country(),
2323
},
2424
subdivision: {
25-
code: '',
25+
code: chance.province(),
2626
},
27-
city: '',
27+
city: chance.city(),
2828
},
2929
ip,
3030
}

0 commit comments

Comments
 (0)