diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..80a14aa --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,14 @@ +# These are supported funding model platforms + +github: [onemanfighter] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +polar: # Replace with a single Polar username +buy_me_a_coffee: # Replace with a single Buy Me a Coffee username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/babel.config.js b/babel.config.js index 680c186..67383f1 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,4 +1,4 @@ module.exports = { presets: ['@babel/preset-env'], }; -w \ No newline at end of file +w; diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..d4089ee --- /dev/null +++ b/codecov.yml @@ -0,0 +1,10 @@ +coverage: + status: + project: + default: + target: 90% + threshold: 5% + patch: + default: + target: 90% + threshold: 5% diff --git a/package.json b/package.json index 7d45277..48bf9b8 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "scripts": { "start": "craco start", "build": "craco build", - "test": "jest --config jest.config.js", - "test:coverage": "jest --config jest.config.js --coverage ", - "test:craco": "craco test --silent --watchAll=false", + "test": "TZ=UTC jest --config jest.config.js", + "test:cov": "TZ=UTC jest --config jest.config.js --coverage ", + "test:craco": "TZ=UTC craco test --silent --watchAll=false", "prettier:write": "prettier --write .", "prettier:check": "prettier --check .", "prettier:staged": "prettier --write .", diff --git a/src/App.test.tsx b/src/App.test.tsx index dbdd232..919cd16 100644 --- a/src/App.test.tsx +++ b/src/App.test.tsx @@ -1,4 +1,3 @@ -import renderer from 'react-test-renderer'; import { render, screen } from '@testing-library/react'; import App from './App'; import './localization/config'; diff --git a/src/store/slice/Modal/Modal.slice.ts b/src/store/slice/Modal/Modal.slice.ts index 3ffab8a..8b9a49f 100644 --- a/src/store/slice/Modal/Modal.slice.ts +++ b/src/store/slice/Modal/Modal.slice.ts @@ -1,5 +1,5 @@ import { AppStoreSlice } from '../../appStore/types'; -import { ModalState, ModalStateSlice, ModalOpenState, ModalIDs } from './types'; +import { ModalState, ModalStateSlice, ModalOpenState } from './types'; const initialAlertState: ModalState = { modalID: undefined,