keybase-proofs 2.3.33 → 2.3.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/test_scraper.iced DELETED
@@ -1,49 +0,0 @@
1
- TwitterScraper = require './src/twitter_scraper.iced'
2
-
3
- # -------------------------------------------------------------------------------------------------
4
-
5
- scraper = new TwitterScraper()
6
-
7
- # -------------------------------------------------------------------------------------------------
8
-
9
- console.log "Testing direct lookup."
10
- await scraper.check_status "malgorithms", "400699000954699777", "bitcoin", defer err
11
- if err?
12
- console.log "Error: #{err}"
13
-
14
- # -------------------------------------------------------------------------------------------------
15
-
16
- console.log "Testing hunt method."
17
- await scraper.hunt "malgorithms", "Beer", defer err, tweet_id
18
- if err?
19
- console.log "Error: #{err}"
20
- else
21
- console.log " -- Testing found post."
22
- await scraper.check_status "malgorithms", tweet_id, "Beer", defer err
23
- if err?
24
- console.log "Error: #{err}"
25
-
26
- # -------------------------------------------------------------------------------------------------
27
-
28
- console.log "Testing bad case on username."
29
- await scraper.hunt "MALGORITHMS", "Beer", defer err, tweet_id
30
- if err?
31
- console.log "Error: #{err}"
32
- else
33
- console.log " -- Testing found post."
34
- await scraper.check_status "MALGORITHMS", tweet_id, "Beer", defer err
35
- if err?
36
- console.log "Error: #{err}"
37
-
38
- console.log "Testing protected user."
39
- await scraper.hunt "foo", "Beer", defer err, tweet_id
40
- console.log "Response: #{err}, #{tweet_id}"
41
-
42
-
43
- # -------------------------------------------------------------------------------------------------
44
-
45
- console.log "Testing hunting for shit which doesn't exist."
46
- await scraper.hunt "malgorithms", "BOOYEAH WHOO HAH.", defer err, tweet_id
47
- console.log "Response: #{err}, #{tweet_id}"
48
-
49
-