Skip to content

Commit 8236e3f

Browse files
committed
chore: added a comment about why I have a test that type checking would cover
1 parent 7b34762 commit 8236e3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/rsc-data.spec.ts

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ describe('getRscDataRouter', () => {
2727

2828
let rscDataRouter
2929

30+
// Normally type checking would pick this up, but because this file is copied when generating
31+
// edge functions for the build, I added a test
3032
expect(() => {
3133
rscDataRouter = getRscDataRouter(manifest)
3234
}).not.toThrow()

0 commit comments

Comments
 (0)