Started working on JS docs.

This commit is contained in:
Joshua Bemenderfer
2023-02-14 22:24:59 -05:00
parent 91ca89f158
commit 4156e3bf91
24 changed files with 364 additions and 69 deletions

View File

@@ -1,8 +1,8 @@
import { expect } from 'chai'
import fs from 'node:fs/promises'
import { execSync } from 'node:child_process'
import { useDocument } from '@terrace/js'
import { createFileReader } from '@terrace/js/readers/node-readline'
import { useDocument } from '@terrace-lang/js'
import { createFileReader } from '@terrace-lang/js/readers/node-readline'
export async function loadTestMap(path) {
const { next, level, head, tail, line, match } = useDocument(createFileReader(path))