You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'INVALID COMMIT MSG: "not correct format"\n => ERROR: The commit message does not match the format of "<type>(<scope>): <subject> OR revert: type(<scope>): <subject>"'
96
+
'INVALID COMMIT MSG: "not correct format"\n => ERROR: The commit message does not match the format of \'<type>(<scope>): <subject>\' OR \'Revert: "type(<scope>): <subject>"\''
92
97
]);
93
98
});
94
99
95
100
96
-
it('should support "revert: type(scope):" syntax and reject "revert(scope):" syntax',function(){
97
-
letcorrectMsg='revert: fix(compiler): reduce generated code payload size by 65%';
98
-
expect(validateMessage(correctMsg)).toBe(VALID);
101
+
it('should support "revert: type(scope):" syntax and reject "revert(scope):" syntax',
102
+
function(){
103
+
letcorrectMsg='revert: fix(compiler): reduce generated code payload size by 65%';
104
+
expect(validateMessage(correctMsg)).toBe(VALID);
99
105
100
-
letincorretMsg='revert(compiler): reduce generated code payload size by 65%';
'INVALID COMMIT MSG: "revert(compiler): reduce generated code payload size by 65%"\n => ERROR: The commit message does not match the format of "<type>(<scope>): <subject> OR revert: type(<scope>): <subject>"'
104
-
]);
105
-
});
106
+
letincorretMsg='revert(compiler): reduce generated code payload size by 65%';
0 commit comments