-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from quadratichq/development-tests-for-sheetC…
…ontroller Development tests for sheet controller
- Loading branch information
Showing
20 changed files
with
965 additions
and
745 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
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,7 @@ | ||
// This is a transformer for Jest to transform python files to strings for import | ||
// only used in jest tests. | ||
module.exports = { | ||
process: (content) => { | ||
return { code: 'module.exports = ' + JSON.stringify(content) }; | ||
}, | ||
}; |
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,5 +1,11 @@ | ||
{ | ||
"bail": 1, | ||
"verbose": true, | ||
"preset": "ts-jest" | ||
} | ||
"preset": "ts-jest", | ||
"testPathIgnorePatterns": ["<rootDir>/tests-e2e/*"], | ||
"transform": { | ||
"^.+\\.(ts|tsx|js|jsx)?$": "ts-jest", | ||
"\\.py$": "<rootDir>/jest-transformer-py" | ||
}, | ||
"testTimeout": 15000 | ||
} |
Oops, something went wrong.