@intuned/runtime-dev 1.2.1-hooks.3 → 1.2.1-hooks.4

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.
@@ -16,7 +16,6 @@ var _fileUtils = require("../commands/common/utils/fileUtils");
16
16
  var _waitOn = _interopRequireDefault(require("wait-on"));
17
17
  var _runtime = require("../runtime");
18
18
  var _asyncLocalStorage = require("./asyncLocalStorage");
19
- var _getPort = _interopRequireDefault(require("get-port"));
20
19
  var _promises = require("timers/promises");
21
20
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
22
21
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
@@ -59,7 +58,7 @@ async function getProductionPlaywrightConstructs({
59
58
  hookOptions
60
59
  }) {
61
60
  const extraArgs = [];
62
- const port = await (0, _getPort.default)();
61
+ const port = 9222;
63
62
  let hook = null;
64
63
  if (hookOptions) {
65
64
  hook = await loadInitializeContextHook(hookOptions.importFunction);
@@ -100,7 +99,7 @@ async function getProductionPlaywrightConstructs({
100
99
  if (hookResult !== null) {
101
100
  ({
102
101
  page,
103
- context: context
102
+ context
104
103
  } = hookResult);
105
104
  const {
106
105
  hookVars
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.2.1-hooks.3",
3
+ "version": "1.2.1-hooks.4",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",