Enhance README and docstring #50
Annotations
4 errors
|
build-and-test
Process completed with exit code 1.
|
|
tests/builds.test.ts > CJS build > dialect string works:
ts/tests/builds.test.ts#L76
WasmInitError: WASM module not yet initialized. Use the async import or wait for module to load: import("sqlparser-rs").then(({ parse }) => parse(sql))
❯ getWasmModule dist/index.cjs:238:8
❯ Parser.parse dist/index.cjs:338:16
❯ Function.parse dist/index.cjs:354:46
❯ parse dist/index.cjs:416:16
❯ tests/builds.test.ts:76:20
|
|
tests/builds.test.ts > CJS build > format works:
ts/tests/builds.test.ts#L70
WasmInitError: WASM module not yet initialized. Use the async import or wait for module to load: import("sqlparser-rs").then(({ parse }) => parse(sql))
❯ getWasmModule dist/index.cjs:238:8
❯ Function.format dist/index.cjs:382:16
❯ format dist/index.cjs:436:16
❯ tests/builds.test.ts:70:20
|
|
tests/builds.test.ts > CJS build > parse works:
ts/tests/builds.test.ts#L64
WasmInitError: WASM module not yet initialized. Use the async import or wait for module to load: import("sqlparser-rs").then(({ parse }) => parse(sql))
❯ getWasmModule dist/index.cjs:238:8
❯ Parser.parse dist/index.cjs:338:16
❯ Function.parse dist/index.cjs:354:46
❯ parse dist/index.cjs:416:16
❯ tests/builds.test.ts:64:20
|