Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Remi PLANEL
bioviz-js
Commits
07047f74
Commit
07047f74
authored
May 29, 2019
by
Remi PLANEL
Browse files
Add empty test to get correct coverage
parent
001b83ad
Pipeline
#12070
passed with stage
in 54 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
jest.config.js
View file @
07047f74
module
.
exports
=
{
// roots: ['<rootDir>/src/scripts'
],
moduleFileExtensions
:
[
"
ts
"
,
"
tsx
"
,
"
js
"
,
"
jsx
"
,
"
json
"
,
"
node
"
],
transform
:
{
"
^.+
\\
.(ts|tsx)$
"
:
"
ts-jest
"
,
},
testRegex
:
"
/tests/.*
\\
.(test|spec)
\\
.(jsx?|tsx?|ts)$
"
,
moduleFileExtensions
:
[
"
ts
"
,
"
tsx
"
,
"
js
"
,
"
jsx
"
,
"
json
"
,
"
node
"
],
testRegex
:
"
tests/.*
\\
.(test|spec)
\\
.(jsx?|tsx?|ts)$
"
,
collectCoverage
:
true
,
coverageReporters
:
[
"
text-summary
"
]
};
\ No newline at end of file
tests/gene-shapes.test.ts
View file @
07047f74
...
...
@@ -2,9 +2,6 @@ import { arrowShape } from "../src/scripts/component/sequence/gene-shapes";
import
{
scaleLinear
}
from
"
d3-scale
"
;
import
{
GeneData
}
from
"
../src/scripts/types
"
;
import
linearGene
from
"
../src/scripts/layout/linear-gene
"
;
import
{
line
}
from
"
d3
"
;
describe
(
"
Test gene shapes
"
,
()
=>
{
const
data
:
GeneData
[]
=
[{
...
...
tests/genome-browser.test.ts
0 → 100644
View file @
07047f74
import
GenomeBrowser
from
"
../src/scripts/component/genome-browser
"
;
describe
(
"
Test Genome Browser
"
,
()
=>
{
// const genomeBrowserComponent = GenomeBrowser();
test
(
""
,
()
=>
{
})
})
\ No newline at end of file
tests/selected-chromosome.test.ts
0 → 100644
View file @
07047f74
import
SelectedChromosome
from
"
../src/scripts/component/selected-chromosome
"
;
describe
(
"
Test Genome Browser
"
,
()
=>
{
const
selectedChromosomeComponent
=
SelectedChromosome
();
test
(
""
,
()
=>
{
})
})
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment