Skip to content

Commit

Permalink
[test] Add simple crawling test
Browse files Browse the repository at this point in the history
  • Loading branch information
jfroffice committed Jun 16, 2019
1 parent 99126c1 commit 9ac90ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crawler/test/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const trending = require('trending-github');

trending().then(repos => {
console.log(new Date());
console.log('crawling trending... ' + repos.length);
});

0 comments on commit 9ac90ef

Please sign in to comment.