Skip to content

Commit

Permalink
add failing test for issue with openai and langchain
Browse files Browse the repository at this point in the history
  • Loading branch information
haikyuu committed May 21, 2024
1 parent afdac03 commit 7b83ca2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/api/conflict.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { Generator } from "@jspm/generator";
import assert from "assert";

const generator = new Generator({
mapUrl: '.',
defaultProvider: "jspm.io",
env: ["production", "browser"],
});
await generator.install(["openai@latest", "langchain@latest/text_splitter"])
const json = generator.getMap();
console.log("json", json);
assert.ok(json.imports["openai"]);

0 comments on commit 7b83ca2

Please sign in to comment.