@solidjs/testing-library

v0.7.1
Simple and complete Solid testing utilities that encourage good testing practices.
testing solid-js ui dom jsdom unit integration functional end-to-end and 2 more...

test

vitest

build

tsup src/index.ts --format esm,cjs --dts --clean

setup

npm install && npm run validate

prettier

prettier -w src/**/* ./*.json ./vitest.config.js

validate

npm run typecheck && npm run test:coverage && npm run build

typecheck

tsc --noEmit; tsc --noEmit --project src/__tests__/tsconfig.json

test:watch

npm test --watch

test:coverage

npm test -- --coverage

prepublishOnly

npm run build

report:coverage

cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
npm i @solidjs/[email protected]

Metadata

  • MIT
  • >= 14
  • Ryan Carniato
  • released 5/21/2023

Downloads