jenot/priv/static/js/jenot-tests.js
Adrian Gruntkowski f944a3a436 Reorganize tests
2024-11-28 19:12:40 +01:00

11 lines
274 B
JavaScript

import { runTests } from "./test-utils.js";
// tests to run
import "./components-test.js";
const URL_PARAMS = new URLSearchParams(window.location.search);
const CONCRETE_TEST = URL_PARAMS.get("t");
runTests({
only: CONCRETE_TEST ? [parseInt(CONCRETE_TEST)] : null,
});