mirror of
https://github.com/stablyai/orca.git
synced 2026-10-02 08:02:02 +00:00
test(main): census split browser command owners
This commit is contained in:
@@ -91,7 +91,14 @@ function createPublicationHost(registeredTabs: readonly [string, number][] = [['
|
||||
}
|
||||
|
||||
function browserCommandsSource(): string {
|
||||
return readFileSync(join(__dirname, 'orca-runtime-browser.ts'), 'utf8')
|
||||
// The command adapter is split by browser-tab operation; keep the census over
|
||||
// both owners instead of the thin compatibility facade.
|
||||
return [
|
||||
'runtime-browser-commands-browser-tab-create.ts',
|
||||
'runtime-browser-commands-browser-tab-list.ts'
|
||||
]
|
||||
.map((fileName) => readFileSync(join(__dirname, fileName), 'utf8'))
|
||||
.join('\n')
|
||||
}
|
||||
|
||||
describe('publishCreatedBrowserSessionTab', () => {
|
||||
|
||||
Reference in New Issue
Block a user