0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/test/test.js

12 lines
247 B
JavaScript
Raw Normal View History

2017-06-03 04:04:36 +02:00
const glob = require("glob");
2017-06-03 04:04:36 +02:00
require("./setup");
2017-06-03 04:04:36 +02:00
glob.sync("**/__test__.js", { cwd: "src" }).forEach(function(file) {
require("../src/" + file);
});
2017-06-03 04:04:36 +02:00
glob.sync("*/index.js", { cwd: "test" }).forEach(function(file) {
require("./" + file);
});