forked from naddison36/sol2uml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: diff between two verified Solidity contracts (naddison36#125)
- Loading branch information
1 parent
8d7972b
commit 26cac8e
Showing
14 changed files
with
1,489 additions
and
71 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,30 +1,11 @@ | ||
// jest.config.js | ||
module.exports = { | ||
verbose: true, | ||
transform: { | ||
"^.+\\.tsx?$": 'ts-jest' | ||
}, | ||
testPathIgnorePatterns: [ | ||
"/build/", | ||
"/node_modules/", | ||
], | ||
testRegex: '/__tests__/.*\\.test\\.ts$', | ||
moduleFileExtensions: [ | ||
'ts', | ||
'tsx', | ||
'js', | ||
'jsx', | ||
'json', | ||
'node' | ||
], | ||
globals: { | ||
'ts-jest': { | ||
diagnostics: { | ||
// Do not fail on TS compilation errors | ||
// https://kulshekhar.github.io/ts-jest/user/config/diagnostics#do-not-fail-on-first-error | ||
warnOnly: true | ||
} | ||
} | ||
}, | ||
testEnvironment: 'node' | ||
verbose: true, | ||
transform: { | ||
'^.+\\.tsx?$': 'ts-jest', | ||
}, | ||
testPathIgnorePatterns: ['/build/', '/node_modules/'], | ||
testRegex: '/__tests__/.*\\.test\\.ts$', | ||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], | ||
testEnvironment: 'node', | ||
} |
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 @@ | ||
/** | ||
* Compares code using Google's diff_match_patch and displays the results in the console. | ||
* @param codeA | ||
* @param codeB | ||
* @param lineBuff the number of lines to display before and after each change. | ||
*/ | ||
export declare const diffCode: (codeA: string, codeB: string, lineBuff: number) => void; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.