sfdx-git-delta 6.40.0 → 6.41.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/README.md CHANGED
@@ -201,7 +201,7 @@ FLAG DESCRIPTIONS
201
201
  of a diff, in which case changes may still be picked up.
202
202
  ```
203
203
 
204
- _See code: [src/commands/sgd/source/delta.ts](https://github.com/scolladon/sfdx-git-delta/blob/v6.40.0/src/commands/sgd/source/delta.ts)_
204
+ _See code: [src/commands/sgd/source/delta.ts](https://github.com/scolladon/sfdx-git-delta/blob/v6.41.0/src/commands/sgd/source/delta.ts)_
205
205
  <!-- commandsstop -->
206
206
 
207
207
  ### Windows users
@@ -1,9 +1,9 @@
1
1
  declare const lazy: typeof import("../LoggingService.js").lazy;
2
2
  declare const Logger: {
3
- debug: jest.Mock<void, [msg: unknown], any>;
4
- warn: jest.Mock<void, [msg: unknown], any>;
5
- info: jest.Mock<any, any, any>;
6
- error: jest.Mock<any, any, any>;
7
- trace: jest.Mock<any, any, any>;
3
+ debug: import("vitest").Mock<(msg: unknown) => void>;
4
+ warn: import("vitest").Mock<(msg: unknown) => void>;
5
+ info: import("vitest").Mock<import("@vitest/spy").Procedure>;
6
+ error: import("vitest").Mock<import("@vitest/spy").Procedure>;
7
+ trace: import("vitest").Mock<import("@vitest/spy").Procedure>;
8
8
  };
9
- export { lazy, Logger };
9
+ export { Logger, lazy };
@@ -1,14 +1,15 @@
1
- const { lazy } = jest.requireActual('../LoggingService.js');
2
- const resolve = jest.fn((msg) => {
1
+ import { vi } from 'vitest';
2
+ const { lazy } = await vi.importActual('../LoggingService.js');
3
+ const resolve = vi.fn((msg) => {
3
4
  if (typeof msg === 'function')
4
5
  msg();
5
6
  });
6
7
  const Logger = {
7
8
  debug: resolve,
8
9
  warn: resolve,
9
- info: jest.fn(),
10
- error: jest.fn(),
11
- trace: jest.fn(),
10
+ info: vi.fn(),
11
+ error: vi.fn(),
12
+ trace: vi.fn(),
12
13
  };
13
- export { lazy, Logger };
14
+ export { Logger, lazy };
14
15
  //# sourceMappingURL=LoggingService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoggingService.js","sourceRoot":"","sources":["../../../src/utils/__mocks__/LoggingService.ts"],"names":[],"mappings":"AAAA,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,aAAa,CACjC,sBAAsB,CACvB,CAAA;AAED,MAAM,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC,GAAY,EAAE,EAAE;IACvC,IAAI,OAAO,GAAG,KAAK,UAAU;QAAG,GAAkB,EAAE,CAAA;AACtD,CAAC,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG;IACb,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE;IACf,KAAK,EAAE,IAAI,CAAC,EAAE,EAAE;IAChB,KAAK,EAAE,IAAI,CAAC,EAAE,EAAE;CACjB,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"LoggingService.js","sourceRoot":"","sources":["../../../src/utils/__mocks__/LoggingService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAE3B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,EAAE,CAAC,YAAY,CACpC,sBAAsB,CACvB,CAAA;AAED,MAAM,OAAO,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,GAAY,EAAE,EAAE;IACrC,IAAI,OAAO,GAAG,KAAK,UAAU;QAAG,GAAkB,EAAE,CAAA;AACtD,CAAC,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG;IACb,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE;IACb,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE;IACd,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE;CACf,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA"}