-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Writing host tests, adding deskreen icon
- Loading branch information
Showing
170 changed files
with
7,588 additions
and
2,210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ | |
|
||
## Howto: | ||
|
||
# trigger | ||
|
||
### to generate test coverage results | ||
|
||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`app menu MenyBuilder tests when MenyBuilder created properly when menu from buildDarwinTemplate was created should match a snapshot 1`] = ` | ||
Array [ | ||
Object { | ||
"label": "Deskreen", | ||
"submenu": Array [ | ||
Object { | ||
"label": "About Deskreen", | ||
"selector": "orderFrontStandardAboutPanel:", | ||
}, | ||
Object { | ||
"type": "separator", | ||
}, | ||
Object { | ||
"label": "Services", | ||
"submenu": Array [], | ||
}, | ||
Object { | ||
"type": "separator", | ||
}, | ||
Object { | ||
"accelerator": "Command+H", | ||
"label": "Hide Deskreen", | ||
"selector": "hide:", | ||
}, | ||
Object { | ||
"accelerator": "Command+Shift+H", | ||
"label": "Hide Others", | ||
"selector": "hideOtherApplications:", | ||
}, | ||
Object { | ||
"label": "Show All", | ||
"selector": "unhideAllApplications:", | ||
}, | ||
Object { | ||
"type": "separator", | ||
}, | ||
Object { | ||
"accelerator": "Command+Q", | ||
"click": [Function], | ||
"label": "Quit", | ||
}, | ||
], | ||
}, | ||
Object { | ||
"label": "Edit", | ||
"submenu": Array [ | ||
Object { | ||
"accelerator": "Command+Z", | ||
"label": "Undo", | ||
"selector": "undo:", | ||
}, | ||
Object { | ||
"accelerator": "Shift+Command+Z", | ||
"label": "Redo", | ||
"selector": "redo:", | ||
}, | ||
Object { | ||
"type": "separator", | ||
}, | ||
Object { | ||
"accelerator": "Command+X", | ||
"label": "Cut", | ||
"selector": "cut:", | ||
}, | ||
Object { | ||
"accelerator": "Command+C", | ||
"label": "Copy", | ||
"selector": "copy:", | ||
}, | ||
Object { | ||
"accelerator": "Command+V", | ||
"label": "Paste", | ||
"selector": "paste:", | ||
}, | ||
Object { | ||
"accelerator": "Command+A", | ||
"label": "Select All", | ||
"selector": "selectAll:", | ||
}, | ||
], | ||
}, | ||
Object { | ||
"label": "View", | ||
"submenu": Array [ | ||
Object { | ||
"accelerator": "Ctrl+Command+F", | ||
"click": [Function], | ||
"label": "Toggle Full Screen", | ||
}, | ||
], | ||
}, | ||
Object { | ||
"label": "Window", | ||
"submenu": Array [ | ||
Object { | ||
"accelerator": "Command+M", | ||
"label": "Minimize", | ||
"selector": "performMiniaturize:", | ||
}, | ||
Object { | ||
"accelerator": "Command+W", | ||
"label": "Close", | ||
"selector": "performClose:", | ||
}, | ||
Object { | ||
"type": "separator", | ||
}, | ||
Object { | ||
"label": "Bring All to Front", | ||
"selector": "arrangeInFront:", | ||
}, | ||
], | ||
}, | ||
Object { | ||
"label": "Help", | ||
"submenu": Array [ | ||
Object { | ||
"click": [Function], | ||
"label": "Learn More", | ||
}, | ||
Object { | ||
"click": [Function], | ||
"label": "Documentation", | ||
}, | ||
Object { | ||
"click": [Function], | ||
"label": "Community Discussions", | ||
}, | ||
Object { | ||
"click": [Function], | ||
"label": "Search Issues", | ||
}, | ||
], | ||
}, | ||
] | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/* istanbul ignore file */ | ||
|
||
let host; | ||
let protocol; | ||
let port; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/* istanbul ignore file */ | ||
|
||
import config from './config'; | ||
|
||
export default (resourceName = '') => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
sonar.projectKey=deskreen-viewer | ||
sonar.typescript.lcov.reportPaths=coverage/lcov.info | ||
sonar.sources=src | ||
sonar.cpd.exclusions=src/**/mocks/*,src/**/*.spec.ts,src/**/*.spec.tsx,src/**/*.test.ts,src/**/*.test.tsx,src/serviceWorker.ts,src/index.tsx | ||
sonar.coverage.exclusions=src/**/mocks/*,src/**/*.spec.ts,src/**/*.spec.tsx,src/**/*.test.ts,src/**/*.test.tsx,src/serviceWorker.ts,src/index.tsx | ||
sonar.cpd.exclusions=src/config/*,src/**/__mocks__/*,src/**/mocks/*,src/**/*.spec.ts,src/**/*.spec.tsx,src/**/*.test.ts,src/**/*.test.tsx,src/serviceWorker.ts,src/index.tsx | ||
sonar.coverage.exclusions=src/config/*,src/**/__mocks__/*,src/**/mocks/*,src/**/*.spec.ts,src/**/*.spec.tsx,src/**/*.test.ts,src/**/*.test.tsx,src/serviceWorker.ts,src/index.tsx | ||
sonar.host.url=http://localhost:9000 | ||
sonar.login=e3b5f73b8778290f7074c40a4159c32b7f15a8e6 | ||
sonar.exclusions=src/serviceWorker.ts,node_modules/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.