Skip to content

Commit

Permalink
fix: cs
Browse files Browse the repository at this point in the history
  • Loading branch information
OxCom committed Apr 22, 2020
1 parent 396c7e4 commit 6e231ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Constraints/Callback.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('Callback', function () {
describe('#validate()', function () {
it('is valid', function () {
const object = new Callback({
callback: (value, options) => true
callback: () => true
});

['', null, parseInt('a'), undefined, 'qwe', 123, 0, '0']
Expand All @@ -43,7 +43,7 @@ describe('Callback', function () {

it('is not valid with undefined return', function () {
const object = new Callback({
callback: (value, options) => undefined
callback: () => undefined
});

['', null, parseInt('a'), undefined, 'qwe', 123, 0, '0']
Expand All @@ -56,7 +56,7 @@ describe('Callback', function () {

it('is not valid', function () {
const object = new Callback({
callback: (value, options) => false
callback: () => false
});

['', null, parseInt('a'), undefined, 'qwe', 123, 0, '0']
Expand Down

0 comments on commit 6e231ea

Please sign in to comment.