@perspect3vism/ad4m-test

v0.7.0
Testing library to test ad4m languages

build

tsc

build:util

browserify build/client.js --standalone Bundle -p esmify > public/client.js

test-disable

echo "Test runner integration tests disabled"

test-expression

node build/cli.js --test ./example/expression.test.js --bundle "example/languages/note-ipfs.js" --meta '{"name":"note-ipfs","description":"IPFS based language for storing data","sourceCodeLink":"https://github.com/perspect3vism/note-ipfs","possibleTemplateParams":["uid","name"]}'

test-link

node build/cli.js --test ./example/link.test.js --bundle "example/languages/social-context.js" --meta '{"name":"social-context","description":"Shortform expression for flux application","sourceCodeLink":"https://github.com/juntofoundation/ad4m-languages","possibleTemplateParams":["uid","name"]}'

test-ui

node build/cli.js --ui --bundle "example/languages/note-ipfs.js" --meta '{"name":"note-ipfs","description":"Shortform expression for flux application","sourceCodeLink":"https://github.com/juntofoundation/ad4m-languages","possibleTemplateParams":["uid","name"]}'

ad4m-test

./build/cli.js

postinstall

node ./scripts/get-builtin-test-langs.js
npm i @perspect3vism/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 10/20/2023

Downloads