From ea0e36b7a42461f6294e2e370d3ca39653d9ccaa Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 23 Jan 2024 14:28:52 +0100 Subject: [PATCH] Don't explicitly exclude raw --- packages/string-templates/test/manifest.spec.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/string-templates/test/manifest.spec.js b/packages/string-templates/test/manifest.spec.js index 5153f1dbed..091d2789af 100644 --- a/packages/string-templates/test/manifest.spec.js +++ b/packages/string-templates/test/manifest.spec.js @@ -25,14 +25,10 @@ const manifest = JSON.parse( fs.readFileSync(require.resolve("../manifest.json"), "utf8") ) -const functionsToExclude = { string: ["raw"] } - const collections = Object.keys(manifest) const examples = collections.reduce((acc, collection) => { const functions = Object.keys(manifest[collection]).filter( - fnc => - !functionsToExclude[collection]?.includes(fnc) && - manifest[collection][fnc].example + fnc => manifest[collection][fnc].example ) if (functions.length) { acc[collection] = functions