csp-html-webpack-plugin icon indicating copy to clipboard operation
csp-html-webpack-plugin copied to clipboard

Change Jest configuration to also work on Windows

Open StephanBijzitter opened this issue 4 years ago • 2 comments

Summary

Due to Windows file paths, jest wasn't able to find any test files and due to rm not being available on Windows, coverage could not be created.

Updating the test matcher and replacing rm with rimraf (a node dependency) allows Windows to run this project properly when developing locally

Requirements (place an x in each [ ])

StephanBijzitter avatar Sep 15 '21 13:09 StephanBijzitter

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 15 '21 13:09 CLAassistant

Thank you for this. I implemented your changes in my fork: https://github.com/melloware/csp-webpack-plugin

melloware avatar Jan 07 '22 19:01 melloware