@uxland/primary-shell 7.6.2 → 7.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxland/primary-shell",
3
- "version": "7.6.2",
3
+ "version": "7.7.0",
4
4
  "description": "Primaria Shell",
5
5
  "author": "UXLand <dev@uxland.es>",
6
6
  "homepage": "https://github.com/uxland/harmonix/tree/app#readme",
@@ -112,7 +112,7 @@ describe("ExitShellHandler", () => {
112
112
 
113
113
  await handler.handle(message);
114
114
 
115
- expect(mockApi.notificationService.error).toHaveBeenCalledWith("Something went wrong");
115
+ expect(mockApi.notificationService.error).toHaveBeenCalledWith("errors.exit");
116
116
  expect(raiseCustomCloseEvent).toHaveBeenCalledWith(message);
117
117
  expect(raiseCloseEvent).not.toHaveBeenCalled();
118
118
  });
@@ -125,7 +125,7 @@ describe("ExitShellHandler", () => {
125
125
 
126
126
  await handler.handle(message);
127
127
 
128
- expect(mockApi.notificationService.error).toHaveBeenCalledWith("Something went wrong");
128
+ expect(mockApi.notificationService.error).toHaveBeenCalledWith("errors.exit");
129
129
  expect(raiseCloseEvent).toHaveBeenCalled();
130
130
  expect(raiseCustomCloseEvent).not.toHaveBeenCalled();
131
131
  });