You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing webpack output is possible. Just needs to be setup.
With webpack you can specify both an input and output filesystem. Allowing us to mock the filesystem into memory entirely using say: https://github.com/webpack/memory-fs
I'll use this to keep track of tests which I think are missing.
We still need some tests to ensure that a basic set of plugins / loaders are being included from createConfigs
Testing webpack output is possible. Just needs to be setup.
With webpack you can specify both an input and output filesystem. Allowing us to mock the filesystem into memory entirely using say: https://github.com/webpack/memory-fs
The below shows that inputFileSystem and outputFileSystem are public attributes of compiler instances.
https://github.com/webpack/webpack/blob/90d537ef4ce1092f76bd02ee2a75838c67b809fc/lib/Compiler.js#L148-L149
The text was updated successfully, but these errors were encountered: