@intuned/runtime-dev 1.0.4-remove-playwright.17 → 1.0.4-remove-playwright.19
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,5 +16,6 @@ async function tsNodeImport(apiName) {
|
|
|
16
16
|
});
|
|
17
17
|
const path = (0, _fileUtils.getFullPathInProject)(...apiName.split("/"));
|
|
18
18
|
const imported = await (specifier => new Promise(r => r(`${specifier}`)).then(s => _interopRequireWildcard(require(s))))(path);
|
|
19
|
+
console.log("pathpathpath", path, imported);
|
|
19
20
|
return imported;
|
|
20
21
|
}
|
|
@@ -246,6 +246,7 @@ async function checkAuthSessionWithRetries(page, context, checkFn, retries = 3)
|
|
|
246
246
|
async function importUsingImportFunction(path, importFunction) {
|
|
247
247
|
try {
|
|
248
248
|
const imported = importFunction ? await importFunction(path) : await (specifier => new Promise(r => r(specifier)).then(s => _interopRequireWildcard(require(s))))(`../../../${path}.ts`);
|
|
249
|
+
console.log("imported importedimported", imported);
|
|
249
250
|
if (!imported || !imported.default || !imported.default.constructor) {
|
|
250
251
|
return (0, _neverthrow.err)(new _errors.InvalidApiError("API file path does not have a default export"));
|
|
251
252
|
}
|