-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: refactor serializer tests to improve coverage (#408)
* test: refactor serializer tests to improve coverage * fix: move timeout in serializer tests * test: cover missed lines in serializer tests * fix: use namespaced checks in serializer tests * fix: get serializer tests passing on postgres
- Loading branch information
1 parent
999f649
commit 29dab32
Showing
4 changed files
with
504 additions
and
253 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// @flow | ||
declare module 'faker' { | ||
declare interface name { | ||
static firstName(): string; | ||
static lastName(): string; | ||
} | ||
|
||
declare interface image { | ||
static imageUrl(): string; | ||
} | ||
|
||
declare interface lorem { | ||
static word(): string; | ||
static sentence(): string; | ||
static paragraph(): string; | ||
static paragraphs(): string; | ||
} | ||
|
||
declare interface random { | ||
static boolean(): boolean; | ||
} | ||
|
||
declare interface helpers { | ||
static randomize<T>(options: Array<T>): T; | ||
} | ||
|
||
declare interface internet { | ||
static email(): string; | ||
static password(length?: number): string; | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.