-
-
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: make output closer to typespec files
- Loading branch information
1 parent
a195075
commit 3e5ef9e
Showing
7 changed files
with
90 additions
and
94 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,22 +1,18 @@ | ||
import * as fc from 'fast-check'; | ||
|
||
const string = fc.string(); | ||
export const $Array = fc.array(fc.string()); | ||
|
||
const Array = fc.array(string); | ||
|
||
export const $Array = Array; | ||
|
||
export const MinItemsArray = fc.array(string, { | ||
export const MinItemsArray = fc.array(fc.string(), { | ||
minLength: 3, | ||
}); | ||
|
||
export const Min0ItemsArray = Array; | ||
export const Min0ItemsArray = fc.array(fc.string()); | ||
|
||
export const MaxItemsArray = fc.array(string, { | ||
export const MaxItemsArray = fc.array(fc.string(), { | ||
maxLength: 12, | ||
}); | ||
|
||
export const MinMaxItemsArray = fc.array(string, { | ||
export const MinMaxItemsArray = fc.array(fc.string(), { | ||
minLength: 3, | ||
maxLength: 12, | ||
}); |
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
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