-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: check for new releases (ActivityWatch/activitywatch#114)
- Loading branch information
Showing
15 changed files
with
369 additions
and
84 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
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,6 +1,7 @@ | ||
module.exports = { | ||
// TODO: We should try to switch to the @vue/app preset, but right now it breaks everything | ||
//presets: ['@vue/app'], | ||
presets: ['@vue/cli-plugin-babel/preset'], | ||
plugins: ['lodash', '@babel/plugin-syntax-dynamic-import'], | ||
comments: false, | ||
}; |
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,24 @@ | ||
// Tests can be added in the aw-webui/test folder | ||
// File names that end with .test.js will be run in the jsdom testEnvironment | ||
// File names that end with .test.node.js will be run in the node testEnvironment | ||
|
||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
}; | ||
projects: [ | ||
{ | ||
displayName: 'jsdom', | ||
preset: '@vue/cli-plugin-unit-jest', | ||
testEnvironment: 'jsdom', | ||
transform: { | ||
'^.+\\.js$': 'babel-jest', | ||
'^.+\\.vue$': 'vue-jest' | ||
}, | ||
testMatch: ['**/test/**/*.test.js?(x)'] | ||
}, | ||
{ | ||
displayName: 'node', | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
testMatch: ['**/test/**/*.test.node.js?(x)'], | ||
} | ||
], | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.