diff --git a/package.json b/package.json index 995614576a..43feff4bd5 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "build:dist": "gulp build:dist --destination 'dist' && npm run test:build:dist", "pretest": "npm run build:assets", "test": "jest --color --ignoreProjects \"Gulp tasks\" --maxWorkers=50%", - "test:build:assets": "npx jest --selectProjects \"Gulp tasks\" --testMatch \"**/*components*\"", "test:build:package": "npx jest --selectProjects \"Gulp tasks\" --testMatch \"**/*build-package*\"", "test:build:dist": "npx jest --selectProjects \"Gulp tasks\" --testMatch \"**/*build-dist*\"", "lint": "npm run lint:js && npm run lint:scss", diff --git a/tasks/gulp/__tests__/check-individual-components-compile.test.js b/tasks/gulp/__tests__/check-individual-components-compile.test.js deleted file mode 100644 index 2d3c043281..0000000000 --- a/tasks/gulp/__tests__/check-individual-components-compile.test.js +++ /dev/null @@ -1,24 +0,0 @@ -const path = require('path') - -const { renderSass } = require('../../../lib/jest-helpers') - -const lib = require('../../../lib/file-helper') -const configPaths = require('../../../config/paths.js') - -describe('Individual components', () => { - it('should compile individual scss files without throwing exceptions', done => { - const componentNames = lib.allComponents.slice() - - const getSassRenders = () => { - return componentNames.map(name => { - const filePath = path.join(configPaths.components, name, `_${name}.scss`) - return renderSass({ file: filePath }) - }) - } - - Promise - .all(getSassRenders()) - .then(() => { done() }) - .catch(error => { throw error }) - }) -})