@output.ai/core 0.5.9 → 0.5.10
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.
package/package.json
CHANGED
|
@@ -43,11 +43,10 @@ describe( 'workflow_validator loader', () => {
|
|
|
43
43
|
rmSync( dir, { recursive: true, force: true } );
|
|
44
44
|
} );
|
|
45
45
|
|
|
46
|
-
it( 'workflow.js: allows imports from @output.ai/core
|
|
46
|
+
it( 'workflow.js: allows imports from @output.ai/core', async () => {
|
|
47
47
|
const dir = mkdtempSync( join( tmpdir(), 'wf-allow-external-' ) );
|
|
48
48
|
const src = [
|
|
49
49
|
'import a from "@output.ai/core";',
|
|
50
|
-
'import b from "local_core";',
|
|
51
50
|
'const z = 1;'
|
|
52
51
|
].join( '\n' );
|
|
53
52
|
await expect( runLoader( join( dir, 'workflow.js' ), src ) ).resolves.toBeTruthy();
|