mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-26 11:33:09 +00:00
aaf880c925
* WIP moving tests to web-test-runner * updating thresholds * Adding file extensions * Testing integrations * linting * fixing dep * moving back to root dir * prettier all of the files * updating eslint rules to use with prettier * remove import package * moving tsignore around * removing unneeded ignores * all tests run on puppeteer, no need for testing guards * linting * import type syntax * cleaning up * Update package.json
15 lines
392 B
JavaScript
15 lines
392 B
JavaScript
#!/usr/bin/env zx
|
|
import "zx/globals";
|
|
import { glob } from "glob";
|
|
import { basename, resolve } from "path";
|
|
|
|
const integrations = await glob(resolve(__dirname, "../integration/*"));
|
|
for (let dir of integrations) {
|
|
await within(async () => {
|
|
cd(dir);
|
|
// eslint-disable-next-line no-console
|
|
console.log("Integration:", basename(dir));
|
|
await $`npm i`;
|
|
await $`npm run test`;
|
|
});
|
|
}
|