Initial system import

This commit is contained in:
2025-12-25 23:08:06 +01:00
commit 4beb5806eb
4623 changed files with 682363 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
const {
parse,
stringify,
transforms,
tokenizers,
} = require('../../lib/index.cjs');
const { examples } = require('./examples');
const table = examples.map((fn) => [fn.name.replace(/_/g, ' '), fn]);
test.each(table)('example - %s', (name, fn) => {
const source = fn.toString();
expect(() =>
fn(source, parse, stringify, transforms, tokenizers)
).not.toThrow();
});