diff --git a/addons/point_of_sale/static/tests/unit/pos_app_tests.js b/addons/point_of_sale/static/tests/unit/pos_app_tests.js index a99764bdef2..89c9e1e6e40 100644 --- a/addons/point_of_sale/static/tests/unit/pos_app_tests.js +++ b/addons/point_of_sale/static/tests/unit/pos_app_tests.js @@ -8,6 +8,7 @@ import { numberBufferService } from "@point_of_sale/app/utils/number_buffer_serv import { barcodeReaderService } from "@point_of_sale/app/barcode/barcode_reader_service"; import { EventBus } from "@odoo/owl"; import { uiService } from "@web/core/ui/ui_service"; +import { popupService } from "@point_of_sale/app/popup/popup_service"; QUnit.module("Chrome", { beforeEach() { @@ -17,6 +18,7 @@ QUnit.module("Chrome", { .add("number_buffer", numberBufferService) .add("barcode_reader", barcodeReaderService) .add("ui", uiService) + .add("popup", popupService) .add("barcode", { start() { return { bus: new EventBus() }; @@ -28,14 +30,7 @@ QUnit.module("Chrome", { }, }); - for (const service of [ - "popup", - "hardware_proxy", - "debug", - "pos_notification", - "sound", - "action", - ]) { + for (const service of ["hardware_proxy", "debug", "pos_notification", "sound", "action"]) { registry.category("services").add(service, { start() { return {};