Skip to content

Commit

Permalink
fix: Modified tests
Browse files Browse the repository at this point in the history
  • Loading branch information
y-mehta committed Dec 29, 2020
1 parent fa933d6 commit d87fc84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const allowedUrlsFile = `${__dirname}/allowedUrls.txt`;
let blockUrls;
let allowedUrls;

// Blocked URLs Test
// Test: Blocked URLs
try {
blockUrls = JSON.parse(fs.readFileSync(blockUrlsFile));
} catch (err) {
Expand All @@ -33,7 +33,7 @@ blockUrls.forEach((url)=>{
});
});

// Allowed URLs Test
// Test: Allowed URLs
try {
allowedUrls = JSON.parse(fs.readFileSync(allowedUrlsFile));
} catch (err) {
Expand All @@ -58,7 +58,7 @@ allowedUrls.forEach((url)=>{
});
});

// DNS Rebind Test
// Test: DNS Rebind
it(`Test DNS Rebind`, async () => {
let check = 0;
const url = 'http://A.49.44.166.234.1time.10.0.0.1.1time.repeat.'+ new Date().valueOf() +'.rebind.network';
Expand Down

0 comments on commit d87fc84

Please sign in to comment.