Skip to content

Commit

Permalink
updated service url and gene id in demo.html and test files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakshisrivastava413 committed Feb 23, 2020
1 parent 20f4f36 commit 0e441ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
var elem = document.getElementById('yourDiv'),
//InterMine service, including URL and token.
imURL = {
root: 'http:https://www.humanmine.org/human',
root: 'https:https://www.humanmine.org/humanmine',
//could include token here too if we had one
},
//this is an example of data that could be passed to this tool be BlueGenes
Expand All @@ -58,7 +58,7 @@
// but we don't want to make the code more complicated than
// needed for the demo.
// value: 1000006,
value: 20274371
value: 1196911
},
toolState = {}; //to be confirmed how we use this.
// THIS LINE IS THE IMPORTANT BIT. YOU SHOULDN'T NEED TO EDIT IT
Expand Down
4 changes: 2 additions & 2 deletions tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ describe('main', () => {
test('should render loading immediately when intialised', () => {
const mockData = {
el: document.createElement('div'),
service: { root: 'http:https://www.humanmine.org/human' },
imEntity: { value: 1000006 },
service: { root: 'https:https://www.humanmine.org/humanmine' },
imEntity: { value: 1205472 },
state: { testing: true },
config: {}
};
Expand Down
4 changes: 2 additions & 2 deletions tests/proteinVisualizer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ beforeEach(() => {
describe('queries', () => {
describe('gene -> protein', () => {
const mockData = {
geneId: '1000090',
serviceUrl: 'http:https://www.humanmine.org/human'
geneId: '1205472',
serviceUrl: 'https:https://www.humanmine.org/humanmine'
};

test('should return a promise resolving with gene having proteins', () => {
Expand Down

0 comments on commit 0e441ee

Please sign in to comment.