Fix error on static code analysis by Webstorm


describe('scantradtk', function () {

  var specification = {
    extension: 'jpg',
    pageURL: 'http://lel-scan.co/mangas/${title}/${chapter}/${page}.${extension}?v=f',
    chapterRule: 'none',
    pageRule: 'fixed2'
  };

  var mangaTitle = 'shingeki-no-kyojin';

  var volumes = {
    T17: {
      begin: 68,
      end: 70
    },
    T18: {
      begin: 71,
      end: 74
    }
  };

  var scantradtk;

  before(function () {

    scantradtk = require('../lib');

  });

  it('should create specified volume cbz file', function () {

    var urlList = scantradtk.createPagesList(specification, mangaTitle, volumes);
    scantradtk.createCbz('T17', urlList.T17);

  });

});

import scantradtk from '../lib';

describe('scantradtk', function () {

  var specification = {
    extension: 'jpg',
    pageURL: 'http://lel-scan.co/mangas/${title}/${chapter}/${page}.${extension}?v=f',
    chapterRule: 'none',
    pageRule: 'fixed2'
  };

  var mangaTitle = 'shingeki-no-kyojin';

  var volumes = {
    T17: {
      begin: 68,
      end: 70
    },
    T18: {
      begin: 71,
      end: 74
    }
  };

  it('should create specified volume cbz file', function () {

    var urlList = scantradtk.createPagesList(specification, mangaTitle, volumes);
    scantradtk.createCbz('T17', urlList.T17);

  });

});
