Skip to content

Commit 6e2c4f9

Browse files
committed
Forgot test bigquery
1 parent 1754a96 commit 6e2c4f9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

test/bigquery.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
describe('bigquery', function() {
2+
describe('startJob', function(){
3+
this.timeout(10000);
4+
it('return job id.', function(done) {
5+
AV.BigQuery.startJob({
6+
sql: "select * from _User",
7+
saveAs: {
8+
className: 'BigQueryResult',
9+
limit:1
10+
}
11+
}).then(function(id) {
12+
console.log(id);
13+
done();
14+
}, function(err) {
15+
throw err;
16+
});
17+
});
18+
});
19+
});

0 commit comments

Comments
 (0)