Skip to content

Commit acbc271

Browse files
committed
chore: made a comment more comprehensive
1 parent 8236e3f commit acbc271

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/rsc-data.spec.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ describe('getRscDataRouter', () => {
2828
let rscDataRouter
2929

3030
// 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
31+
// edge functions for the build, we need to make sure it's valid for builds.
32+
//
33+
// See https://github.com/netlify/next-runtime/issues/1940
3234
expect(() => {
3335
rscDataRouter = getRscDataRouter(manifest)
3436
}).not.toThrow()

0 commit comments

Comments
 (0)