Fix several typos (#9658)
This commit is contained in:
@@ -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' }),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user