UNPKG
mockpack
Version:
latest (0.1.0)
0.1.0
Mocking of modules for unit testing with webpack 1.x
github.com/c-dante/mockpack
c-dante/mockpack
mockpack
/
example
/
module.js
7 lines
(5 loc)
•
134 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
{ value }
from
'./other/commonJsDep'
;
import
{ fn }
from
'./dep'
;
export
function
go
(
) {
return
`module
${fn()}
${value}
`
; }