Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bioviz-js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Remi PLANEL
bioviz-js
Commits
07047f74
Commit
07047f74
authored
May 29, 2019
by
Remi PLANEL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add empty test to get correct coverage
parent
001b83ad
Pipeline
#12070
passed with stage
in 54 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
6 deletions
+20
-6
jest.config.js
jest.config.js
+2
-3
tests/gene-shapes.test.ts
tests/gene-shapes.test.ts
+0
-3
tests/genome-browser.test.ts
tests/genome-browser.test.ts
+10
-0
tests/selected-chromosome.test.ts
tests/selected-chromosome.test.ts
+8
-0
No files found.
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
Markdown
is supported
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