Revision 7218849a
Added by koszko over 1 year ago
test/unit/test_patterns_query_manager.py | ||
---|---|---|
89 | 89 |
const [initial_mappings, initial_blocking] = arguments.slice(0, 2); |
90 | 90 |
let mappingchange, blockingchange; |
91 | 91 |
|
92 |
haketilodb.track.mappings = function (cb) {
|
|
92 |
haketilodb.track.mapping = function (cb) { |
|
93 | 93 |
mappingchange = cb; |
94 | 94 |
|
95 | 95 |
return [{}, initial_mappings]; |
... | ... | |
253 | 253 |
const identifiers = arguments[0]; |
254 | 254 |
async function remove_items() |
255 | 255 |
{ |
256 |
const ctx = await start_items_transaction(["mappings"], {});
|
|
256 |
const ctx = await start_items_transaction(["mapping"], {}); |
|
257 | 257 |
for (const id of identifiers) |
258 | 258 |
await remove_mapping(id, ctx); |
259 | 259 |
await finalize_transaction(ctx); |
Also available in: Unified diff
add a mapping/resources installation dialog