MCPcopy Create free account
hub / github.com/ceifa/wasmoon / getFactory

Function getFactory

test/utils.js:3–5  ·  view source on GitHub ↗
(env)

Source from the content-addressed store, hash-verified

1import { LuaFactory } from '../dist/index.js'
2
3export const getFactory = (env) => {
4 return new LuaFactory(undefined, env)
5}
6
7export const getEngine = (config = {}) => {
8 return new LuaFactory().createEngine({

Callers 2

engine.test.jsFile · 0.90
filesystem.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected