Skip to content

Commit e41f63b

Browse files
test(README.md): tests from the readme update.
1 parent 759382a commit e41f63b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/test/README.md.spec.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ testing.describe('Expects provided value', () => {
139139
() => toBe.stringIncludes(string, ['Lorem', 'galley', 'It was popularised in the 1960s']))
140140
.it(`a \`string\` type or an instance of \`String\` that includes some of the specified \`words/sentences\``,
141141
() => toBe.stringIncludesSome(string, ['Lorem1', 'galley1', 'It was popularised in the 1960s']))
142-
.it(`a \`string\` between the given length.`,
142+
.it(`a \`string\` of the given length.`,
143+
() => toBe.stringOfLength(isStringOfLength, 28))
144+
.it(`a \`string\` between the min and max.`,
143145
() => toBe.stringOfLengthBetween(isStringOfLength, min, max))
144146
.it(`a \`symbol\``,
145147
() => toBe.symbol(isSymbol))
@@ -188,7 +190,9 @@ testing.describe('Expects provided value', () => {
188190
() => toBe.not.stringIncludes(string, ['Lorem1', 'galley1', 'It was popularized in the 1960s1']))
189191
.it(`a \`string\` type or an instance of \`String\` that includes some of the specified \`words/sentences\``,
190192
() => toBe.not.stringIncludesSome(string, ['Lorem1', 'galley1', 'It was popularized in the 1960s1']))
191-
.it(`a \`string\` between the given length.`,
193+
.it(`a \`string\` of the given length.`,
194+
() => toBe.not.stringOfLength(isStringOfLength, 12))
195+
.it(`a \`string\` between the given min and max.`,
192196
() => toBe.not.stringOfLengthBetween(undefined, min, max))
193197
.it(`a \`symbol\``,
194198
() => toBe.not.symbol(undefined))

0 commit comments

Comments
 (0)