Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 4cb85a0

Browse files
committed
Remove obsolete unit test for sourcemaps
1 parent 5c00970 commit 4cb85a0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/util/source-maps.spec.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@ import * as helpers from './helpers';
55

66
describe('source maps', () => {
77
describe('purgeSourceMapsIfNeeded', () => {
8-
it('should return a resolved promise when purging source maps isnt needed', () => {
9-
// arrange
10-
let env: any = {};
11-
env[Constants.ENV_VAR_GENERATE_SOURCE_MAP] = 'true';
12-
process.env = env;
13-
// act
14-
const resultPromise = sourceMaps.purgeSourceMapsIfNeeded(null);
15-
// assert
16-
return resultPromise;
17-
});
18-
198
it('should return a promise call unlink on all files with a .map extensin', () => {
209
// arrange
2110
let env: any = {};

0 commit comments

Comments
 (0)