Skip to content

Commit

Permalink
Fix test data
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover committed Oct 2, 2019
1 parent e7e329c commit b2298d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ export default function () {
}
},
newPlatform: {
setup: {
core: {
elasticsearch: {
legacy: { config$: of({ shardTimeout: moment.duration(30000) }) }
}
__internals: {
elasticsearch: {
legacy: { config$: of({ shardTimeout: moment.duration(30000) }) }
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ describe('getEsShardTimeout', () => {
const req = {
server: {
newPlatform: {
setup: {
core: {
elasticsearch: { legacy: { config$: of({ shardTimeout: moment.duration(12345) }) } },
},
__internals: {
elasticsearch: { legacy: { config$: of({ shardTimeout: moment.duration(12345) }) } },
},
},
},
Expand Down

0 comments on commit b2298d8

Please sign in to comment.