diff --git a/lib/content/package-json.hbs b/lib/content/package-json.hbs index 98e7d591..d9523151 100644 --- a/lib/content/package-json.hbs +++ b/lib/content/package-json.hbs @@ -42,7 +42,10 @@ "standard": {{{ del }}}, "tap": { {{#if workspacePaths}} - "test-ignore": "^({{ join workspacePaths "|" }})/", + "exclude": {{#if tap18}}[ + "{{ join workspaceGlobs "," }}" + ]{{else }}{{{ del }}}{{/if}}, + "test-ignore": {{#if tap18}}{{{ del }}}{{else}}"^({{ join workspacePaths "|" }})/"{{/if}}, {{/if}} {{#if typescript}} {{#if tap16}}