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

Commit 2e8ba6a

Browse files
committed
test(preprocess): fix test
1 parent c4bcae0 commit 2e8ba6a

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/preprocess.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ describe('Preprocess Task', () => {
5454
// assert
5555
expect(optimization.optimization).toHaveBeenCalled();
5656
expect(preprocess.writeFilesToDisk).not.toHaveBeenCalledWith();
57-
expect(context.moduleFiles).toBeTruthy();
58-
expect(context.moduleFiles.length).toEqual(2);
59-
expect(context.moduleFiles[0]).toEqual(mockDirName);
60-
expect(context.moduleFiles[1]).toEqual(mockDirName + '2');
6157
});
6258
});
6359
});

src/preprocess.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { basename, dirname, join, relative } from 'path';
44
import { Logger } from './logger/logger';
55
import * as Constants from './util/constants';
66
import { BuildError } from './util/errors';
7-
import { globAll, GlobResult } from './util/glob-util';
87
import { getBooleanPropertyValue, getStringPropertyValue } from './util/helpers';
98
import { BuildContext, ChangedFile } from './util/interfaces';
109
import { optimization } from './optimization';

0 commit comments

Comments
 (0)