Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 608c8a8

Browse filesBrowse files
authored
Merge pull request Lemoncode#143 from jsagardoy/master
new version for testing actions
2 parents 44ab0c1 + fc91149 commit 608c8a8
Copy full SHA for 608c8a8

File tree

Expand file treeCollapse file tree

107 files changed

+12224
-2312
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

107 files changed

+12224
-2312
lines changed

‎12 TestAction/.babelrc

Copy file name to clipboard
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"modules": false
7+
}
8+
]
9+
],
10+
"plugins": [
11+
"emotion"
12+
]
13+
}

‎12 TestAction/config/test/jest.json

Copy file name to clipboard
+20Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"rootDir": "../../",
3+
"testRegex": "\\.spec\\.tsx?$",
4+
"moduleFileExtensions": [
5+
"js",
6+
"jsx",
7+
"json",
8+
"ts",
9+
"tsx"
10+
],
11+
"setupFiles": [
12+
"<rootDir>/config/test/polyfills.js"
13+
],
14+
"testURL": "http://localhost/",
15+
"transform": {
16+
".tsx?": "<rootDir>/node_modules/ts-jest/preprocessor.js"
17+
},
18+
"restoreMocks": true
19+
20+
}
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Polyfill requestAnimationFrame required by React >=16.0.0
2+
require('raf/polyfill');
3+
global.fetch = require('jest-fetch-mock');

‎12 TestAction/karma.conf.js

Copy file name to clipboardExpand all lines: 12 TestAction/karma.conf.js
-36Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.