0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 01:11:24 +01:00
svelte/test/test.js
2017-06-02 22:04:36 -04:00

12 lines
247 B
JavaScript

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