start a new test session
lerna-test-resume --init
run your tests w/ tee
npm t | tee ".lerna-test-resume/lerna-run-test-`date +%s`.log"
come across a failure, then have lerna-test-resume parse the log output(s)
lerna-test-resume
lerna-test-resume will output your new test command. run that. e.g.
lerna run test --concurrency=1 --stream --ignore @tectonic/babel-plugin-dedeepify-imports --ignore @tectonic/babel-plugin-extract-translations-properties --ignore @tectonic/babel-plugin-extract-user-preferences --ignore @tectonic/babel-plugin-jsx --ignore @tectonic/babel-utils --ignore @tectonic/build-support-mega-bundle-middleware --ignore @tectonic/config-core --ignore @tectonic/eslint-plugin-dependencies --ignore @tectonic/eslint-plugin-drivers --ignore @tectonic/eslint-plugin-only-warn --ignore @tectonic/pom --ignore @tectonic/test-fixtures-quebec-simple-snabbdom --ignore @tectonic/test-fixtures-quebec-sinon --ignore @tectonic/test-fixtures-san-diego-simple-snabbdom --ignore @tectonic/webpack-config-shared-component-loader --ignore @tectonic/webpack-plugin-emit-translations --ignore @tectonic/webpack-plugin-extract-call-expressions --ignore @tectonic/webpack-plugin-extract-user-preferences --ignore @tectonic/webpack-plugin-moment-locales --ignore @tectonic/webpack-plugin-simple-file-copy --ignore @tectonic/babel-plugin-invalid-imports --ignore @tectonic/metadata-transform-core --ignore @tectonic/logger --ignore @tectonic/eslint-plugin-tectonic --ignore @tectonic/babel-plugin-rename-deprecated-seismic --ignore @tectonic/build-plugin-bundle-analyzer --ignore @tectonic/build-plugins-common --ignore @tectonic/build-plugin-null-resolver --ignore @tectonic/build-plugin-reset-dist-directory --ignore @tectonic/esbuild-plugin-scss-compiler --ignore @tectonic/build-plugin-simple-copy --ignore @tectonic/build-plugin-write-disk-based-assets --ignore @tectonic/build-support-dependency-manifest-generator --ignore @tectonic/component-archetype -- --coverage=true && combine-coverage | tee ".lerna-test-resume/lerna-run-test-`date +%s`.log"
iterate until all of your tests pass