Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: postcss lowercase text #867

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions babel.config.js
Expand Up @@ -54,6 +54,7 @@ module.exports = function(api) {
'lerna:postcss-zindex': 'postcss-zindex',
'lerna:stylehacks': 'stylehacks',
'lerna:cssnano-util-raw-cache': 'cssnano-util-raw-cache',
'lerna:postcss-lowercase-text': 'postcss-lowercase-text',
},
},
]);
Expand Down Expand Up @@ -131,6 +132,8 @@ module.exports = function(api) {
'lerna:stylehacks': './stylehacks/src/index.js',
'lerna:cssnano-util-raw-cache':
'./cssnano-util-raw-cache/src/index.js',
'lerna:postcss-lowercase-text':
'./postcss-lowercase-text/src/index.js',
},
},
]);
Expand Down
1 change: 1 addition & 0 deletions jest.config.js
Expand Up @@ -9,6 +9,7 @@ module.exports = {
'_processCSS.js',
'_processCss.js',
'_webpack.config.js',
'packages/postcss-lowercase-text/src/__tests__/data/',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why it here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jest was running the test running in this directory as well as there is an .js file which is true for jest's default test file pattern. So I added them. this directory should not be tested as it has data only.

],
testTimeout: 30000,
};
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -24,7 +24,7 @@
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/node": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"all-contributors-cli": "^5.11.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/css-size/src/__tests__/index.js
Expand Up @@ -4,7 +4,7 @@ import path from 'path';
import colors from 'colors/safe';
import size, { table, numeric } from '../';

jest.setTimeout(15000);
jest.setTimeout(30000);

let noopProcessorPath = path.resolve(__dirname, '../../processors/noop.js');

Expand Down