@aneuhold/core-ts-lib 2.0.5 → 2.0.6

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Utility class used for jest testing.
2
+ * Utility class used for testing purposes.
3
3
  */
4
4
  export default class TestUtils {
5
5
  private static consoleLoggers;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Utility class used for jest testing.
2
+ * Utility class used for testing purposes.
3
3
  */
4
4
  export default class TestUtils {
5
5
  static consoleLoggers = {
@@ -13,10 +13,10 @@ export default class TestUtils {
13
13
  * Use `restoreConsole` when the test is finished to restore the console.
14
14
  */
15
15
  static suppressConsole() {
16
- console.error = jest.fn();
17
- console.log = jest.fn();
18
- console.info = jest.fn();
19
- console.warn = jest.fn();
16
+ console.error = () => { };
17
+ console.log = () => { };
18
+ console.info = () => { };
19
+ console.warn = () => { };
20
20
  }
21
21
  /**
22
22
  * Restores the normal console output functionality of all console loggers
@@ -1 +1 @@
1
- {"version":3,"file":"TestUtils.js","sourceRoot":"./src/","sources":["utils/TestUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,SAAS;IACpB,MAAM,CAAC,cAAc,GAAG;QAC9B,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,GAAG,EAAE,OAAO,CAAC,GAAG;QAChB,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,IAAI,EAAE,OAAO,CAAC,IAAI;KACnB,CAAC;IAEF;;;OAGG;IACI,MAAM,CAAC,eAAe;QAC3B,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QAC1B,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACxB,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACzB,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;IAC3B,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AC;IAC/C,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Utility class used for jest testing.
2
+ * Utility class used for testing purposes.
3
3
  */
4
4
  export default class TestUtils {
5
5
  private static consoleLoggers = {
@@ -14,10 +14,10 @@ export default class TestUtils {
14
14
  * Use `restoreConsole` when the test is finished to restore the console.
15
15
  */
16
16
  public static suppressConsole() {
17
- console.error = jest.fn();
18
- console.log = jest.fn();
19
- console.info = jest.fn();
20
- console.warn = jest.fn();
17
+ console.error = () => {};
18
+ console.log = () => {};
19
+ console.info = () => {};
20
+ console.warn = () => {};
21
21
  }
22
22
 
23
23
  /**
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@aneuhold/core-ts-lib",
3
3
  "author": "Anton G. Neuhold Jr.",
4
4
  "license": "MIT",
5
- "version": "2.0.5",
5
+ "version": "2.0.6",
6
6
  "description": "A core library for all of my TypeScript projects",
7
7
  "packageManager": "yarn@4.5.1",
8
8
  "type": "module",