Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 13 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | const SurveysReader = require("../dist/npm").SurveysReader; |
||
2 | const snap = require("./snap-events"); |
||
3 | |||
4 | const TOKEN = process.env.SURVEY_MONKEY_TOKEN; |
||
5 | |||
6 | describe("SurveysReader", () => { |
||
7 | it("should read surveys", done => { |
||
8 | const reader = new SurveysReader({ |
||
9 | headers: { authorization: `bearer ${TOKEN}` } |
||
10 | }); |
||
11 | snap(reader, done); |
||
12 | }); |
||
13 | }); |
||
14 |