UNPKG
grunt-testflight
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
Uploads the build to TestFlight
github.com/shiwano/grunt-testflight
shiwano/grunt-testflight
grunt-testflight
/
test
/
test_helper.js
10 lines
(7 loc)
•
247 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
;
var
fs =
require
(
'fs'
);
var
nock =
require
(
'nock'
);
global
.
nockScope
=
nock
(
'http://testflightapp.com'
) .
post
(
'/api/builds.json'
).
reply
(
200
,
function
(
) {
return
fs.
readFileSync
(
'./test/fixtures/result.json'
,
'utf8'
); });