mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Drop styles from qunit tests -- this should never have been required.
Two tests will fail, but I'll fix them.
This commit is contained in:
@@ -13,8 +13,6 @@ const baseKarmaConfig = require("./karma.config.base");
|
||||
|
||||
const testFiles = ["../node_modules/@babel/polyfill/dist/polyfill.js", "../tests/qunit/test.js"];
|
||||
|
||||
const assets = ["../tests/qunit/assets/*.css"];
|
||||
|
||||
const preprocessors = testFiles.reduce((result, path) => {
|
||||
result[path] = ["webpack"];
|
||||
return result;
|
||||
@@ -24,7 +22,7 @@ module.exports = function (config) {
|
||||
const baseConfig = baseKarmaConfig(config);
|
||||
|
||||
const settings = Object.assign({}, baseConfig, {
|
||||
files: testFiles.concat(assets),
|
||||
files: testFiles,
|
||||
preprocessors: preprocessors,
|
||||
frameworks: ["polyfill", "qunit"],
|
||||
singleRun: true,
|
||||
|
||||
@@ -11,7 +11,6 @@ import { setGalaxyInstance } from "app";
|
||||
import { getAppRoot } from "onload";
|
||||
import galaxyOptions from "./test-data/bootstrapped";
|
||||
import serverdata from "./test-data/fakeserver";
|
||||
import "./assets/base.css";
|
||||
|
||||
export function setupTestGalaxy(galaxyOptions_ = null) {
|
||||
galaxyOptions_ = galaxyOptions_ || galaxyOptions;
|
||||
|
||||
Reference in New Issue
Block a user