Fix several typos (#9658)

This commit is contained in:
Kurt McKee
2023-10-13 10:40:57 -05:00
committed by GitHub
parent 164209a4b1
commit 9874db7841
10 changed files with 16 additions and 16 deletions

View File

@@ -32,13 +32,13 @@ describe('GithubDirectoryFileCount', function () {
})
})
it('throws InvalidParameter on receving an object as contents instead of an array', function () {
it('throws InvalidParameter on receiving an object as contents instead of an array', function () {
expect(() => GithubDirectoryFileCount.transform({}, {}))
.to.throw(InvalidParameter)
.with.property('prettyMessage', 'not a directory')
})
it('throws InvalidParameter on receving type dir and extension', function () {
it('throws InvalidParameter on receiving type dir and extension', function () {
expect(() =>
GithubDirectoryFileCount.transform(contents, {
type: 'dir',
@@ -52,7 +52,7 @@ describe('GithubDirectoryFileCount', function () {
)
})
it('throws InvalidParameter on receving no type and extension', function () {
it('throws InvalidParameter on receiving no type and extension', function () {
expect(() =>
GithubDirectoryFileCount.transform(contents, { extension: 'js' }),
)