Skip to content

Commit

Permalink
Merge pull request #4 from SergeyAkkuratov/lesson42
Browse files Browse the repository at this point in the history
Lesson42 Приложение Погода с использованием Redux
  • Loading branch information
SergeyAkkuratov authored Jul 31, 2024
2 parents 76433a3 + 101a20d commit 2ca1466
Show file tree
Hide file tree
Showing 22 changed files with 734 additions and 25 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/pull_request_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ jobs:
- name: Build
run: |
npm run build
- name: Pack
run: |
npm run pack
- name: Publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
Expand Down
11 changes: 0 additions & 11 deletions FixJSFOMEnvironment.ts

This file was deleted.

6 changes: 3 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const config = {
coverageDirectory: "coverage",

// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: ["node_modules", "mocks"],
coveragePathIgnorePatterns: ["node_modules", "mock"],

// Indicates which provider should be used to instrument code for coverage
// coverageProvider: "babel",
Expand Down Expand Up @@ -65,7 +65,7 @@ const config = {
// forceCoverageMatch: [],

// A path to a module which exports an async function that is triggered once before all test suites
// globalSetup: undefined,
// globalSetup: "./src/setup.test.ts",

// A path to a module which exports an async function that is triggered once after all test suites
// globalTeardown: undefined,
Expand Down Expand Up @@ -153,7 +153,7 @@ const config = {
// snapshotSerializers: [],

// The test environment that will be used for testing
testEnvironment: "./FixJSFOMEnvironment.ts",
testEnvironment: "jsdom",

// Options that will be passed to the testEnvironment
// testEnvironmentOptions: {},
Expand Down
1 change: 1 addition & 0 deletions mocks/fileMock.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default "";
121 changes: 121 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"prettier": "^3.2.5",
"style-loader": "^3.3.4",
"typescript": "^5.4.4",
Expand All @@ -51,5 +52,8 @@
"lint-staged": {
"*.{js,ts,html}": "eslint --fix",
"*.{js,ts,css,md,yml}": "prettier --write"
},
"dependencies": {
"@reduxjs/toolkit": "^2.2.5"
}
}
Loading

0 comments on commit 2ca1466

Please sign in to comment.