Skip to content

Commit e0b6f51

Browse files
committed
correct tests
1 parent 55fb4e5 commit e0b6f51

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/getFile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ describe('GET translations with wrong credentials', function () {
4040
fileFormat: 'test',
4141
projectId: 'projectId',
4242
secret: 'secret',
43-
apiKey: 'apiKey',
44-
callback: function () {}
43+
apiKey: 'apiKey'
4544
};
4645
});
4746

test/postFile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ describe('POST translations with wrong credentials', function () {
4343
format: 'HIERARCHICAL_JSON',
4444
fileName: 'app-translation.json',
4545
content: JSON.stringify({toTranslate: 'Hey there'}),
46-
keepStrings: false,
47-
callback: function () {}
46+
keepStrings: false
4847
};
4948
});
5049

0 commit comments

Comments
 (0)