Skip to content

Commit 3819f88

Browse files
committed
Update ParseRole-test.js
1 parent a0f31be commit 3819f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/ParseRole-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('ParseRole', () => {
4646
});
4747

4848
it('should throw error string with invalid name', () => {
49-
expect(() => new ParseRole('invalid:name')).toThrow(
49+
expect(() => new ParseRole('invalid:name', new ParseACL())).toThrow(
5050
new ParseError(
5151
ParseError.OTHER_CAUSE,
5252
"A role's name can be only contain alphanumeric characters, _, " + '-, and spaces.'

0 commit comments

Comments
 (0)