@@ -118,12 +118,15 @@ test('replay-test rejects request-global and engine-internal imports', () => {
118118 'packages/replay-test/src/internal/scheduler.ts' ,
119119 [
120120 "import { emitRequestProgress } from '../../../../src/request/progress.ts';" ,
121- "import { readReplayScriptMetadata } from '../../../../src/replay/script .ts';" ,
121+ "import { readReplayScriptMetadata } from '../../../../src/daemon/handlers/session-replay-runtime .ts';" ,
122122 "import { parseMaestroProgram } from '../../../../src/compat/maestro/program-ir-parser.ts';" ,
123123 ] . join ( '\n' ) ,
124124 ] ,
125125 [ 'src/request/progress.ts' , 'export function emitRequestProgress() {}' ] ,
126- [ 'src/replay/script.ts' , 'export function readReplayScriptMetadata() {}' ] ,
126+ [
127+ 'src/daemon/handlers/session-replay-runtime.ts' ,
128+ 'export function readReplayScriptMetadata() {}' ,
129+ ] ,
127130 [ 'src/compat/maestro/program-ir-parser.ts' , 'export function parseMaestroProgram() {}' ] ,
128131 ] ) ,
129132 ) ;
@@ -136,7 +139,7 @@ test('replay-test rejects request-global and engine-internal imports', () => {
136139 violations . map ( ( { message } ) => message . replace ( / ; .* / , '' ) ) ,
137140 [
138141 'replay-test must not import src/request/progress.ts' ,
139- 'replay-test must not import src/replay/script .ts' ,
142+ 'replay-test must not import src/daemon/handlers/session-replay-runtime .ts' ,
140143 'replay-test must not import src/compat/maestro/program-ir-parser.ts' ,
141144 ] ,
142145 ) ;
0 commit comments