Skip to content

Commit 99e9111

Browse files
committed
test: add test
1 parent ab1c656 commit 99e9111

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

__tests__/purge.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ describe('purge', () => {
1515
it('removes imports for Debug', () => {
1616
expect(purge("import { Debug } from 'webpack-strip-debug-loader'")).toBe('\n')
1717
expect(purge('import {Debug} from "webpack-strip-debug-loader"')).toBe('\n')
18+
expect(purge(`import {
19+
Debug
20+
} from 'webpack-strip-debug-loader'`)).toBe('\n')
1821
})
1922

2023
it('removes requires for Debug', () => {

0 commit comments

Comments
 (0)