blob: afede30a7b262dd5e8793968b8e967b857d8c0d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
/// <reference types="node" />
const assert = require("node:assert");
const { test } = require("node:test");
test("can load grammar", () => {
const parser = new (require("tree-sitter"))();
assert.doesNotThrow(() => parser.setLanguage(require(".")));
});
|