React with Native

Bringing together React and React Native

GitHub

README

K test

k-test (

OperationClassification

TODO: Ensure embedding this will embed the actual docs in my markdown renderer. I guess it might already do so!

TODO: It would be great to learn more about this topic and see if I can make more cross-environment packages. A great use case would be to create a wrapper around the current fs-orm to enable using it at the frontend too.

OperationClassification node-cjs)

Api reference
CLI
Show CLI information (1)
📄 [operationName, manualProjectRoot] (unexported const)
Internal
Show internal (5)
runTestsForOperation()

runTestsForOperation(operationName) runs all tests that can be found in an operation. nicely logs and returns which funtions are working or not and why

this assumes the index file exports all tests under the test constant, which should be done using this framework

this also assumes your tests are exported from build/index.js (which means you need to build your code, not transpile, so it's not possible for every type of operation)

Input
operationNamestring
Output
runTests()

run tests and log the results.

input: Test

output: isAllValid (boolean)

Input
-
Output
📄 runTestsForOperation (exported const)

runTestsForOperation(operationName) runs all tests that can be found in an operation. nicely logs and returns which funtions are working or not and why

this assumes the index file exports all tests under the test constant, which should be done using this framework

this also assumes your tests are exported from build/index.js (which means you need to build your code, not transpile, so it's not possible for every type of operation)

📄 runTests (exported const)

run tests and log the results.

input: Test

output: isAllValid (boolean)

📄 test (exported const)

test for example function