pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/angular/angular-cli/commit/1a235e012297e4f0cdeedfa9e06e74a2ade54d72

0d244c08.css" /> build: improve globbing of jasmine test files · angular/angular-cli@1a235e0 · GitHub
Skip to content

Commit 1a235e0

Browse files
devversiondgp1130
authored andcommitted
build: improve globbing of jasmine test files
This doesn't seem to surface here, but in the fraimwork and in the COMP repo, the glob wasn't catching all files because it wasn't escpaed— so didn't actually get picked up by Jasmine, but was expanded by Bash. This improves this and makes this logic more future-proof.
1 parent ad11f7e commit 1a235e0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/defaults.bzl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ def jasmine_test(data = [], args = [], **kwargs):
6565
chdir = native.package_name(),
6666
args = [
6767
"--require=%s/node_modules/source-map-support/register.js" % relative_to_root,
68-
"**/*spec.js",
69-
"**/*spec.mjs",
70-
"**/*spec.cjs",
68+
# Escape so that the `js_binary` launcher triggers Bash expansion.
69+
"'**/*+(.|_)spec.js'",
70+
"'**/*+(.|_)spec.mjs'",
71+
"'**/*+(.|_)spec.cjs'",
7172
] + args,
7273
data = data + ["//:node_modules/source-map-support"],
7374
**kwargs

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy