#elevator
#jest
#spec
Shared virtual elevators specification tests, using @testing-library.
Used by virtual-elevators, and other elevator projects
Because of limitations with Jest and symbolic links, current usage method involves copying test files from this project into the consumer project by adding a script command that runs before Jest. See virtual-elevators/package.json for usage example
// In consumer's package.json
{
"scripts": {
"setup:spec": "bash ../elevator-specs/setup.sh",
"run:jest": "jest spec",
"test": "run-s setup:spec run:jest",
}
}