refactor(search): remove NLP/smart-search feature entirely #772
@@ -37,6 +37,8 @@ test.describe('NL (smart) search — happy path', () => {
|
||||
}) => {
|
||||
// Deliberate delay so the loading state is assertable before the response arrives.
|
||||
await page.route('**/api/search/nl', async (route) => {
|
||||
const body = route.request().postDataJSON();
|
||||
expect(body.lang).toBeTruthy();
|
||||
await new Promise((resolve) => setTimeout(resolve, 150));
|
||||
await route.fulfill({
|
||||
status: 200,
|
||||
|
||||
Reference in New Issue
Block a user