mirror of
https://github.com/pnx/tree-sitter-dotenv
synced 2026-06-16 01:54:56 +02:00
Initial Commit
This commit is contained in:
commit
948e93ffac
40 changed files with 2760 additions and 0 deletions
9
bindings/node/binding_test.js
generated
Normal file
9
bindings/node/binding_test.js
generated
Normal file
|
|
@ -0,0 +1,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(".")));
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue