Store reusable scraper capabilities in scrape DB
This commit is contained in:
@@ -59,6 +59,9 @@ test("mapping source queries are read-only", () => {
|
||||
assert.doesNotThrow(() =>
|
||||
assertReadOnlySql(mappingSourcesSql({ manufacturerId: 13 })),
|
||||
);
|
||||
assert.match(mappingSourcesSql({ manufacturerId: 13 }), /scrape_manufacturer_sources/);
|
||||
assert.match(mappingSourcesSql({ manufacturerId: 13 }), /scrape_source_capabilities/);
|
||||
assert.match(mappingSourcesSql({ manufacturerId: 13 }), /capabilities/);
|
||||
});
|
||||
|
||||
test("manufacturer refresh updates are narrowly allowlisted", () => {
|
||||
|
||||
Reference in New Issue
Block a user