Skip to content

Commit 38bb183

Browse files
committed
fix tests
1 parent d9cecb6 commit 38bb183

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

app/components/user-menu.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ export default Component.extend({
2626
case 'production':
2727
return `${baseLink}/releases/tag/${tagName}`;
2828

29-
default:
29+
case 'staging':
3030
return `${baseLink}/commit/${currentRevision}`;
31+
32+
default:
33+
return '';
3134
}
3235
}),
3336

app/services/ember-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ function contentForAppBoot(content, config) {
565565
*/
566566
function calculateAppConfig(config) {
567567
let appConfig = config.APP || {};
568-
appConfig.rootElement="#root";
568+
appConfig.rootElement="#main";
569569
return JSON.stringify(appConfig);
570570
}
571571

tests/helpers/output-contents.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import outputPane from './output-pane';
22

33
export default function(selector) {
44
let output = outputPane();
5-
let outputDiv = output.document.querySelector('#root');
5+
let outputDiv = output.document.querySelector('#main');
66
if (selector) {
77
return outputDiv.querySelector(selector).textContent.trim();
88
}

0 commit comments

Comments
 (0)