You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/test.js

12 lines
250 B

const glob = require("tiny-glob/sync.js");
require("./setup");
glob("**/__test__.js", { cwd: "src" }).forEach(function(file) {
require("../src/" + file);
});
glob("*/index.js", { cwd: "test" }).forEach(function(file) {
require("./" + file);
});