Commit 07047f74 authored by Remi  PLANEL's avatar Remi PLANEL

Add empty test to get correct coverage

parent 001b83ad
Pipeline #12070 passed with stage
in 54 seconds
module.exports = { module.exports = {
// roots: ['<rootDir>/src/scripts'], moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
transform: { transform: {
"^.+\\.(ts|tsx)$": "ts-jest", "^.+\\.(ts|tsx)$": "ts-jest",
}, },
testRegex: "/tests/.*\\.(test|spec)\\.(jsx?|tsx?|ts)$", testRegex: "tests/.*\\.(test|spec)\\.(jsx?|tsx?|ts)$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
collectCoverage: true, collectCoverage: true,
coverageReporters: ["text-summary"] coverageReporters: ["text-summary"]
}; };
\ No newline at end of file
...@@ -2,9 +2,6 @@ import { arrowShape } from "../src/scripts/component/sequence/gene-shapes"; ...@@ -2,9 +2,6 @@ import { arrowShape } from "../src/scripts/component/sequence/gene-shapes";
import { scaleLinear } from "d3-scale"; import { scaleLinear } from "d3-scale";
import { GeneData } from "../src/scripts/types"; import { GeneData } from "../src/scripts/types";
import linearGene from "../src/scripts/layout/linear-gene"; import linearGene from "../src/scripts/layout/linear-gene";
import { line } from "d3";
describe("Test gene shapes", () => { describe("Test gene shapes", () => {
const data: GeneData[] = [{ const data: GeneData[] = [{
......
import GenomeBrowser from "../src/scripts/component/genome-browser";
describe("Test Genome Browser", () => {
// const genomeBrowserComponent = GenomeBrowser();
test("", () => {
})
})
\ No newline at end of file
import SelectedChromosome from "../src/scripts/component/selected-chromosome";
describe("Test Genome Browser", () => {
const selectedChromosomeComponent = SelectedChromosome();
test("", () => { })
})
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment