@sprucelabs/spruce-test-fixtures 62.3.85 → 62.3.86

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,12 +22,14 @@ import { AbstractSkillTest, } from '@sprucelabs/spruce-skill-booter';
22
22
  import { diskUtil, testLog } from '@sprucelabs/spruce-skill-utils';
23
23
  import { assert } from '@sprucelabs/test-utils';
24
24
  import FixtureFactory from './fixtures/FixtureFactory.js';
25
+ const env = require('dotenv');
25
26
  class AbstractSpruceFixtureTest extends AbstractSkillTest {
26
27
  static beforeAll() {
27
28
  const _super = Object.create(null, {
28
29
  beforeAll: { get: () => super.beforeAll }
29
30
  });
30
31
  return __awaiter(this, void 0, void 0, function* () {
32
+ env.config = () => { };
31
33
  yield _super.beforeAll.call(this);
32
34
  yield FixtureFactory.beforeAll();
33
35
  console.error = testLog.error;
@@ -7,8 +7,10 @@ const spruce_skill_booter_1 = require("@sprucelabs/spruce-skill-booter");
7
7
  const spruce_skill_utils_1 = require("@sprucelabs/spruce-skill-utils");
8
8
  const test_utils_1 = require("@sprucelabs/test-utils");
9
9
  const FixtureFactory_1 = __importDefault(require("./fixtures/FixtureFactory"));
10
+ const env = require('dotenv');
10
11
  class AbstractSpruceFixtureTest extends spruce_skill_booter_1.AbstractSkillTest {
11
12
  static async beforeAll() {
13
+ env.config = () => { };
12
14
  await super.beforeAll();
13
15
  await FixtureFactory_1.default.beforeAll();
14
16
  console.error = spruce_skill_utils_1.testLog.error;
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "@sprucelabs/spruce-test-fixtures"
14
14
  ]
15
15
  },
16
- "version": "62.3.85",
16
+ "version": "62.3.86",
17
17
  "files": [
18
18
  "build/**/*",
19
19
  "!build/__tests__",
@@ -71,7 +71,7 @@
71
71
  "@sprucelabs/spruce-core-schemas": "^40.1.524",
72
72
  "@sprucelabs/spruce-event-utils": "^40.1.298",
73
73
  "@sprucelabs/spruce-permission-utils": "^8.0.654",
74
- "@sprucelabs/spruce-skill-booter": "^62.3.85",
74
+ "@sprucelabs/spruce-skill-booter": "^62.3.86",
75
75
  "@sprucelabs/spruce-skill-utils": "^31.0.598",
76
76
  "@sprucelabs/test-utils": "^5.1.482",
77
77
  "dotenv": "^16.4.5",
@@ -114,5 +114,5 @@
114
114
  "^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
115
115
  }
116
116
  },
117
- "gitHead": "015274481a1c743300033968a8c02d6cf5a7fffa"
117
+ "gitHead": "ab4a7d9139a334a975dd99104e7530572af04970"
118
118
  }