This commit adds the `stale-theme-pr-closer` closer action. This action
is used to close theme pull requests with an `invalid` label that has
been stale for a given number of `STALE_DAYS`.
* ci: add e2e vercel test action
This commit adds several end-to-end tests that can be used
to test whether the Vercel Preview deployment successfully
returns the cards.
* test: add additional e2e card tests
* test: improve e2e card tests
This commit makes sure that the tests also check whether a valid cards
are returned from the preview deployment.
* GRS-1955: Using ES6 import/export in src files
* GRS-1955: Using ES6 import/export in test files
* GRS-1955: Using ES6 import/export in themes index.js
* GRS-1955: Readding blank line at end of top-languages-card.js
* feat: fix test es6 import errors
This commit makes sure jest is set-up to support es6. It also fixes
several test errors and sorts the imports.
* test: update test node version
This commit makes sure node 16 is used in the github actions.
* refactor: run prettier
Co-authored-by: rickstaa <rick.staa@outlook.com>
* Fixed Firefox text overflow / overwriting issue
Tests currently don't work becouse it appears that '@supports' is not supported by cssToObject used within the tests. I currently have no idea how to fix that test but the cards themself appear to not be broken
Fixesanuraghazra/github-readme-stats#664Fixesanuraghazra/github-readme-stats#1134
* Fixed tests by moving to other css-to-object
Moved the `css-to-object` package to @uppercod's version for test fix. This doesn't seem to have the same issues as the older package
* chore: cleanup test
Co-authored-by: Anurag <hazru.anurag@gmail.com>
* Enable multi line repo card descriptions
* Adjust unit tests to multi line descriptions
* refactor: refactored code & fixed tests
* style: minor height adjustments
* chore: codecov stuck
Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
* feat: template option added husky added for same commit disable console in test \
logger utils added env checked for log modified git ignore
* changed are done as per the suggesstion
* changed style and font
* text color dynamic
* fix border and using .bagde class as common
* simplified the badge svg code through a common method
* chore: updated css & fixed tests
Co-authored-by: anuraghazra <hazru.anurag@gmail.com>