mirror of
https://github.com/hanzoai/workbox.git
synced 2026-09-24 17:04:35 +00:00
* Big ole test re-jig * Current work * Moving all tests over to the test runner * Fixing last nits in the build and test runner * Adding precaching integration tests * Moving sw-appcache-behavior to integration test * Adding bg-sync to test suite again - incoming fails * Fixing the last pieces of the test sweep * Removing logs * Removing number of repeats in tests - should be determined by the individual tests - not the runner * Small move around with sw-appcache * Retry the end to end-to-end test
14 lines
414 B
JavaScript
14 lines
414 B
JavaScript
const glob = require('glob');
|
|
const path = require('path');
|
|
const TestRunner = require('../utils/test-runner');
|
|
|
|
const testGlob = `packages/${process.env.projectOrStar}/test/`;
|
|
const testFiles = glob.sync(testGlob);
|
|
const packageNames = testFiles.map((testFile) => {
|
|
const packageName = testFile.split(path.sep)[1];
|
|
return packageName;
|
|
});
|
|
|
|
const testRunner = new TestRunner(packageNames);
|
|
testRunner.start();
|