Skip to content

Commit d4dcefe

Browse files
filipesilvaclydin
authored andcommitted
test: remove appveyor checks
1 parent 7603f51 commit d4dcefe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+13
-248
lines changed

tests/e2e/tests/basic/styles-array.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import {
22
writeMultipleFiles,
33
expectFileToMatch
4-
} from '../../../utils/fs';
5-
import { ng } from '../../../utils/process';
6-
import { updateJsonFile } from '../../../utils/project';
4+
} from '../../utils/fs';
5+
import { ng } from '../../utils/process';
6+
import { updateJsonFile } from '../../utils/project';
77
import { oneLineTrim } from 'common-tags';
88

99
export default function () {

tests/e2e/tests/build/base-href.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
import {ng} from '../../utils/process';
22
import {expectFileToMatch} from '../../utils/fs';
3-
import {getGlobalVariable} from '../../utils/env';
43
import {updateJsonFile} from '../../utils/project';
54

65

76
export default function() {
8-
// Skip this in Appveyor tests.
9-
if (getGlobalVariable('argv').appveyor) {
10-
return Promise.resolve();
11-
}
12-
137
return ng('build', '--base-href', '/myUrl')
148
.then(() => expectFileToMatch('dist/index.html', /<base href="\/myUrl">/))
159
.then(() => updateJsonFile('.angular-cli.json', configJson => {

tests/e2e/tests/build/chunk-hash.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as fs from 'fs';
22

33
import {ng} from '../../utils/process';
44
import {writeFile, prependToFile, replaceInFile} from '../../utils/fs';
5-
import {getGlobalVariable} from '../../utils/env';
65

76
const OUTPUT_RE = /(main|polyfills|vendor|inline|styles|\d+)\.[a-z0-9]+\.(chunk|bundle)\.(js|css)$/;
87

@@ -43,12 +42,6 @@ function validateHashes(
4342
}
4443

4544
export default function() {
46-
// Skip this in Appveyor tests.
47-
if (getGlobalVariable('argv').appveyor) {
48-
return Promise.resolve();
49-
}
50-
51-
5245
let oldHashes: Map<string, string>;
5346
let newHashes: Map<string, string>;
5447
// First, collect the hashes.

tests/e2e/tests/build/css-urls.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
} from '../../utils/fs';
88
import { copyProjectAsset } from '../../utils/assets';
99
import { expectToFail } from '../../utils/utils';
10-
import { getGlobalVariable } from '../../utils/env';
1110

1211
const imgSvg = `
1312
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
@@ -16,11 +15,6 @@ const imgSvg = `
1615
`;
1716

1817
export default function () {
19-
// Skip this in Appveyor tests.
20-
if (getGlobalVariable('argv').appveyor) {
21-
return Promise.resolve();
22-
}
23-
2418
return Promise.resolve()
2519
// Verify absolute/relative paths in global/component css.
2620
.then(() => writeMultipleFiles({

tests/e2e/tests/build/delete-output-path.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ import {deleteFile, expectFileToExist} from '../../utils/fs';
44
import {getGlobalVariable} from '../../utils/env';
55

66
export default function() {
7-
// Skip this in Appveyor tests.
8-
if (getGlobalVariable('argv').appveyor) {
9-
return Promise.resolve();
10-
}
11-
127
// Skip this in ejected tests.
138
if (getGlobalVariable('argv').eject) {
149
return Promise.resolve();

tests/e2e/tests/build/deploy-url.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,9 @@ import { ng } from '../../utils/process';
22
import { copyProjectAsset } from '../../utils/assets';
33
import { expectFileToMatch, writeMultipleFiles } from '../../utils/fs';
44
import { updateJsonFile } from '../../utils/project';
5-
import { getGlobalVariable } from '../../utils/env';
65

76

87
export default function () {
9-
// Skip this in Appveyor tests.
10-
if (getGlobalVariable('argv').appveyor) {
11-
return Promise.resolve();
12-
}
13-
14-
158
return Promise.resolve()
169
.then(() => writeMultipleFiles({
1710
'src/styles.css': 'div { background: url("./assets/more.png"); }',

tests/e2e/tests/build/filename.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,9 @@ import {ng} from '../../utils/process';
22
import {expectFileToExist} from '../../utils/fs';
33
import {updateJsonFile} from '../../utils/project';
44
import {copyFile} from '../../utils/fs';
5-
import {getGlobalVariable} from '../../utils/env';
65

76

87
export default function() {
9-
// Skip this in Appveyor tests.
10-
if (getGlobalVariable('argv').appveyor) {
11-
return Promise.resolve();
12-
}
13-
148
return Promise.resolve()
159
.then(() => copyFile('src/index.html', 'src/config-index.html'))
1610
.then(() => updateJsonFile('.angular-cli.json', configJson => {

tests/e2e/tests/build/json.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ import {getGlobalVariable} from '../../utils/env';
55

66

77
export default function() {
8-
// Skip this in Appveyor tests.
9-
if (getGlobalVariable('argv').appveyor) {
10-
return Promise.resolve();
11-
}
12-
138
// Skip this in ejected tests.
149
if (getGlobalVariable('argv').eject) {
1510
return Promise.resolve();

tests/e2e/tests/build/module-id.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
import { ng } from '../../utils/process';
22
import { replaceInFile } from '../../utils/fs';
3-
import { getGlobalVariable } from '../../utils/env';
43

54

65
export default function() {
7-
// Skip this in Appveyor tests.
8-
if (getGlobalVariable('argv').appveyor) {
9-
return Promise.resolve();
10-
}
11-
126
return Promise.resolve()
137
.then(() => replaceInFile('src/app/app.component.ts',
148
'@Component({',

tests/e2e/tests/build/no-angular-router.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
import {ng} from '../../utils/process';
22
import {expectFileToExist, moveFile} from '../../utils/fs';
3-
import {updateJsonFile} from '../../utils/project';
43
import {getGlobalVariable} from '../../utils/env';
54
import * as path from 'path';
65

76

87
export default function() {
9-
// Skip this in Appveyor tests.
10-
if (getGlobalVariable('argv').appveyor) {
11-
return Promise.resolve();
12-
}
13-
148
const tmp = getGlobalVariable('tmp-root');
159

1610
return Promise.resolve()

0 commit comments

Comments
 (0)