Skip to content

Commit deaae12

Browse files
committed
Format
1 parent 570edce commit deaae12

8 files changed

Lines changed: 34 additions & 20 deletions

File tree

addon-test-support/-private/async-iterator.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ export default class AsyncIterator {
115115
);
116116
reject(err);
117117
} else {
118-
119118
console.error(
120119
`EmberExam: Promise timed out after ${this._timeout} s while waiting for response for ${this._request}. Closing browser to exit gracefully.`,
121120
);

addon-test-support/load.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ let loaded = false;
1111
*/
1212
export default function loadEmberExam() {
1313
if (loaded) {
14-
1514
console.warn('Attempted to load Ember Exam more than once.');
1615
return;
1716
}

lib/commands/exam/iterate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = {
7272
input = chalk.blue(input);
7373
}
7474

75-
console.info(input);
75+
console.info(input);
7676
},
7777

7878
/**

lib/utils/test-page-helper.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ function getTestUrlFromTestemConfig(configFile) {
156156
// If there is no test_page to use as the testPage, we warn that we're using
157157
// a default value
158158
if (!testPage) {
159-
160159
console.warn(
161160
'No test_page value found in the config. Defaulting to "tests/index.html?hidepassed"',
162161
);

lib/utils/tests-options-validator.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ module.exports = class TestsOptionsValidator {
171171
let split = options.split;
172172

173173
if (typeof split !== 'undefined' && split < 2) {
174-
175174
console.warn(
176175
'You should specify a number of files greater than 1 to split your tests across. Defaulting to 1 split which is the same as not using `split`.',
177176
);

node-tests/unit/utils/tests-options-validator-test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ describe('TestOptionsValidator', function () {
4343
}
4444

4545
function shouldWarn(cmd, options, value, emberCliVer = '3.7.0') {
46-
4746
let originalWarn = console.warn;
4847
let warnCalled = 0;
4948
let warnMessage = '';
@@ -58,7 +57,6 @@ describe('TestOptionsValidator', function () {
5857
assert.strictEqual(warnMessage, value);
5958

6059
console.warn = originalWarn;
61-
6260
}
6361

6462
describe('shouldSplit', function () {

tests/dummy/app/templates/docs.hbs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
{{nav.section "Options"}}
99
{{nav.item "Randomization" "docs.randomization"}}
1010
{{nav.item "Randomization Iterator" "docs.randomization-iterator"}}
11-
{{nav.item "Generating Module Metadata For Test Execution" "docs.module-metadata"}}
11+
{{nav.item
12+
"Generating Module Metadata For Test Execution"
13+
"docs.module-metadata"
14+
}}
1215
{{nav.item "Splitting" "docs.splitting"}}
1316
{{nav.item "Split Test Parallelization" "docs.split-parallel"}}
1417
{{nav.item "Filtering" "docs.filtering"}}
@@ -23,4 +26,4 @@
2326
<viewer.main>
2427
{{outlet}}
2528
</viewer.main>
26-
</DocsViewer>
29+
</DocsViewer>

tests/dummy/app/templates/index.hbs

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,44 @@
88
/>
99

1010
<div class="docs-mt-8 docs-text-center">
11-
Looking for the <strong>Quickstart</strong>? {{docs-link "It's here" "docs.index"}}.
11+
Looking for the
12+
<strong>Quickstart</strong>?
13+
{{docs-link "It's here" "docs.index"}}.
1214
</div>
1315

1416
<DocsDemo class="home">
1517
<div class="docs-p-4">
1618
<p class="docs-mb-8">
17-
Ember Exam is an addon to allow you more control over how you run your tests when used in conjunction with
18-
<a class="docs-md__a" href="https://github.com/emberjs/ember-qunit">ember-qunit</a>.
19-
It provides the ability to randomize, split, parallelize, and load-balance your test suite by adding a more robust
20-
CLI command.
19+
Ember Exam is an addon to allow you more control over how you run your
20+
tests when used in conjunction with
21+
<a
22+
class="docs-md__a"
23+
href="https://github.com/emberjs/ember-qunit"
24+
>ember-qunit</a>. It provides the ability to randomize, split,
25+
parallelize, and load-balance your test suite by adding a more robust CLI
26+
command.
2127
</p>
2228

2329
<p>
24-
It started as a way to help reduce flaky tests and encourage healthy test driven development. It's like
25-
<a class="docs-md__a" href="http://www.headandshoulders.com/">Head & Shoulders</a> for your tests!
30+
It started as a way to help reduce flaky tests and encourage healthy test
31+
driven development. It's like
32+
<a class="docs-md__a" href="http://www.headandshoulders.com/">Head &
33+
Shoulders</a>
34+
for your tests!
2635
</p>
2736

28-
<a class="docs-md__a" href="https://embermap.com/video/ember-exam" rel="nofollow">
29-
<img src="https://cloud.githubusercontent.com/assets/2922250/22800360/157ad67c-eed7-11e6-8d33-d2c59238c7f1.png"
30-
alt="Introduction to Ember Exam" class="max-width">
37+
<a
38+
class="docs-md__a"
39+
href="https://embermap.com/video/ember-exam"
40+
rel="nofollow"
41+
>
42+
<img
43+
src="https://cloud.githubusercontent.com/assets/2922250/22800360/157ad67c-eed7-11e6-8d33-d2c59238c7f1.png"
44+
alt="Introduction to Ember Exam"
45+
class="max-width"
46+
/>
3147
</a>
3248
</div>
33-
<div class="docs-mb-8 docs-ml-4">To learn more, please {{docs-link "read the docs" "docs.index"}}</div>
49+
<div class="docs-mb-8 docs-ml-4">To learn more, please
50+
{{docs-link "read the docs" "docs.index"}}</div>
3451
</DocsDemo>

0 commit comments

Comments
 (0)