Gate Studio frontend by workspace and isolate browser catalog state
This commit is contained in:
@@ -51,4 +51,7 @@ test('API failures stay JSON and service health is distinct from authenticated w
|
||||
const unknown = await fetch(base + '/api/missing');
|
||||
assert.equal(unknown.status, 404);
|
||||
assert.match(unknown.headers.get('content-type'), /application\/json/);
|
||||
const config = await fetch(base + '/api/studio-config');
|
||||
assert.deepEqual(await config.json(), { loginUrl: null });
|
||||
assert.match(config.headers.get('cache-control'), /no-store/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user