@@ -, +, @@ - work with SCSS (just recompile it if you never did) - https://wiki.koha-community.org/wiki/Working_with_staff_client_SCSS - now you have a node_modules directory - prove -r t/00-valid-xml.t - it should fail on files in node_modules - apply this patch - prove -r t/00-valid-xml.t - it should work - sabotage a legitimate XML file, like etc/SIPconfig.xml - prove -r t/00-valid-xml.t - it should fail, good the test is still useful - undo the sabotage --- t/00-valid-xml.t | 1 + 1 file changed, 1 insertion(+) --- a/t/00-valid-xml.t +++ a/t/00-valid-xml.t @@ -30,6 +30,7 @@ find({ no_chdir => 1, wanted => sub { my $file = $_; + return if $file =~ /node_modules/i; return unless $file =~ /(\.xml|\.xsl|\.xslt|\.xsd)$/i; my $dom; eval { $dom = $parser->parse_file($file); }; --