This file contains hidden or 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
| /* eslint-disable jest/expect-expect */ | |
| import { stubOf, Stub } from './stub-of'; | |
| describe('stubOf', () => { | |
| describe('when stubbing classes', () => { | |
| class MyClass { | |
| field: string; | |
| foo() { | |
| return 'bar'; |
This file contains hidden or 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
| #!/bin/bash -i | |
| # Enable alias expansion | |
| shopt -s expand_aliases | |
| # Parse out file filter | |
| fileFilter="" | |
| if [[ "$#" -ge "3" && $1 = "-f" && -n "$2" ]]; then | |
| fileFilter=$2 | |
| shift 2 |