Skip to content

Commit

Permalink
add mock
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Dec 17, 2023
1 parent 0469eee commit 8e6f1fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 58 deletions.
56 changes: 0 additions & 56 deletions mock/src/app.js

This file was deleted.

3 changes: 2 additions & 1 deletion mock/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './app.js';
import './branch.js';
import '../minify/comments.js';
import '../minify/demo.js';

export function foo(argument) {
console.log('this is foo');
Expand Down
2 changes: 1 addition & 1 deletion tests/test-v8.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const coverageOptions = {
assetsPath: '../assets',
lcov: true,

sourceFilter: (sourcePath) => sourcePath.search(/src\//) !== -1,
sourceFilter: (sourcePath) => sourcePath.search(/src\//) !== -1 || sourcePath.search(/minify\//) !== -1,

outputDir: './docs/v8'
};
Expand Down

0 comments on commit 8e6f1fb

Please sign in to comment.