Skip to content

Commit

Permalink
Merge pull request #1 from htbkoo/migrate-to-react
Browse files Browse the repository at this point in the history
Migrated renderer to be React-based
  • Loading branch information
htbkoo authored Mar 1, 2020
2 parents d6b1695 + 3b1d528 commit 77fd232
Show file tree
Hide file tree
Showing 40 changed files with 16,644 additions and 2,832 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
node-version: [12.x, 13.x]

steps:
- uses: actions/checkout@v1
Expand Down
1 change: 0 additions & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ directories:
output: release
files:
- dist/
- public/
- node_modules/
- package.json
linux:
Expand Down
5 changes: 5 additions & 0 deletions jest-unit.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// jest-unit.config.js
module.exports = {
...require("./jest.config"),
testPathIgnorePatterns: ["/node_modules/", "e2e"]
};
18 changes: 18 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// jest-unit.config.js
module.exports = {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/test/.+\\.spec)\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"node"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/mocks/fileMock.js",
"\\.(s?css|sass)$": "<rootDir>/mocks/styleMock.js"
}
};
1 change: 1 addition & 0 deletions mocks/fileMock.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = 'test-file-stub';
1 change: 1 addition & 0 deletions mocks/styleMock.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {};
Loading

0 comments on commit 77fd232

Please sign in to comment.