add bindings and fix documentation
This commit is contained in:
1 parent
0e8ef8e7a5
commit
53e1ee2036
34 files changed
+1472
-12
No files matched your search
Generated
+11
@@ -0,0 +1,11 @@
|
||||
import assert from "node:assert";
|
||||
import { test } from "node:test";
|
||||
import Parser from "tree-sitter";
|
||||
|
||||
test("can load grammar", () => {
|
||||
const parser = new Parser();
|
||||
assert.doesNotReject(async () => {
|
||||
const { default: language } = await import("./index.js");
|
||||
parser.setLanguage(language);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user