@sprucelabs/spruce-invite-utils 5.0.46 → 5.0.48

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,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const test_1 = require("@sprucelabs/test");
4
3
  const test_utils_1 = require("@sprucelabs/test-utils");
4
+ const test_utils_2 = require("@sprucelabs/test-utils");
5
5
  const LoginAndConfirmJoinController_1 = require("../../loggingInAndConfirmingJoin/LoginAndConfirmJoinController");
6
6
  class LoginAndConfirmTestFixture {
7
7
  static beforeEach() {
@@ -15,7 +15,7 @@ class LoginAndConfirmTestFixture {
15
15
  return this.hitCount;
16
16
  }
17
17
  static assertBeforeEachWasCalled() {
18
- test_1.assert.isTrue(this.wasBeforeEachCalled, `Make sure you call 'LoginAndConfirmTestFixture.beforeEach()' in your test!`);
18
+ test_utils_1.assert.isTrue(this.wasBeforeEachCalled, `Make sure you call 'LoginAndConfirmTestFixture.beforeEach()' in your test!`);
19
19
  }
20
20
  static setResponse(person) {
21
21
  this.assertBeforeEachWasCalled();
@@ -45,7 +45,7 @@ class CountingLoginAndConfirmController {
45
45
  //@ts-ignore
46
46
  const response = LoginAndConfirmTestFixture.loginAndJoinResponse;
47
47
  if (response) {
48
- this.auth.setSessionToken((0, test_utils_1.generateId)(), response);
48
+ this.auth.setSessionToken((0, test_utils_2.generateId)(), response);
49
49
  }
50
50
  else if (response === null) {
51
51
  this.auth.clearSession();
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { assert } from '@sprucelabs/test';
10
+ import { assert } from '@sprucelabs/test-utils';
11
11
  import { generateId } from '@sprucelabs/test-utils';
12
12
  import { LoginAndConfirmJoinControllerFactory, } from '../../loggingInAndConfirmingJoin/LoginAndConfirmJoinController.js';
13
13
  export default class LoginAndConfirmTestFixture {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-invite-utils",
3
3
  "description": "Invite Utilities",
4
- "version": "5.0.46",
4
+ "version": "5.0.48",
5
5
  "skill": {
6
6
  "namespace": "invite"
7
7
  },
@@ -44,10 +44,11 @@
44
44
  "release": "npm publish"
45
45
  },
46
46
  "dependencies": {
47
- "@sprucelabs/schema": "latest"
47
+ "@sprucelabs/schema": "latest",
48
+ "@sprucelabs/test-utils": "latest"
48
49
  },
49
50
  "engines": {
50
51
  "node": "16.x",
51
52
  "yarn": "1.x"
52
53
  }
53
- }
54
+ }