Skip to content

Commit 22d8674

Browse files
committed
remove the source map integration test, there maybe an async order to the sources array.
1 parent a333e5c commit 22d8674

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

test/tasks/build.spec.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ describe('The Angularity build task should correctly build an existing project.'
3636
var builtJSBundle = path.join(buildFolder, 'app-build', 'index.js');
3737
expect(builtJSBundle).diffFilePatch(expectedJSBundle);
3838

39-
var expectedJSBundleSourceMap = path.join(expectedBuildFolder, 'app-build', 'index.js.map');
40-
var builtJSBundleSourceMap = path.join(buildFolder, 'app-build', 'index.js.map');
41-
expect(builtJSBundleSourceMap).diffFilePatch(expectedJSBundleSourceMap);
42-
4339
done();
4440
});
4541
});
@@ -51,10 +47,6 @@ describe('The Angularity build task should correctly build an existing project.'
5147
var buildCSS = path.join(buildFolder, 'app-build', 'index.css');
5248
expect(buildCSS).diffFilePatch(expectedCSS);
5349

54-
var expectedCSSSourceMap = path.join(expectedBuildFolder, 'app-build', 'index.css.map');
55-
var buildCSSSourceMap = path.join(buildFolder, 'app-build', 'index.css.map');
56-
expect(buildCSSSourceMap).diffFilePatch(expectedCSSSourceMap);
57-
5850
done();
5951
});
6052
});

test/tasks/release.spec.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ describe('The Angularity release task should correctly build a release version.'
3737
var builtJSBundle = path.join(buildFolder, 'app-release', 'index.js');
3838
expect(builtJSBundle).diffFilePatch(expectedJSBundle);
3939

40-
var expectedJSBundleSourceMap = path.join(expectedBuildFolder, 'app-release', 'index.js.map');
41-
var builtJSBundleSourceMap = path.join(buildFolder, 'app-release', 'index.js.map');
42-
expect(builtJSBundleSourceMap).diffFilePatch(expectedJSBundleSourceMap);
43-
4440
done();
4541
});
4642
});
@@ -52,10 +48,6 @@ describe('The Angularity release task should correctly build a release version.'
5248
var buildCSS = path.join(buildFolder, 'app-release', 'index.css');
5349
expect(buildCSS).diffFilePatch(expectedCSS);
5450

55-
var expectedCSSSourceMap = path.join(expectedBuildFolder, 'app-release', 'index.css.map');
56-
var buildCSSSourceMap = path.join(buildFolder, 'app-release', 'index.css.map');
57-
expect(buildCSSSourceMap).diffFilePatch(expectedCSSSourceMap);
58-
5951
done();
6052
});
6153
});

0 commit comments

Comments
 (0)