<commit_before>var expect = require('expect.js')
  , qc = require('quickcheck')
  , qcJWT = require('../utils/jwt')
  , signing = signing || require('../../../src/lib/signing');

describe('Json web token validation', function() {

    it('should decode valid jwts headers', function() {
        expect( qc.forAll( qcJWT.propertyHeaderJSON, qcJWT.arbJWT ) ).to.be(true);
    });

});<commit_msg>Extra timeout in jwt_test for old node versions<commit_after>var expect = require('expect.js')
  , qc = require('quickcheck')
  , qcJWT = require('../utils/jwt')
  , signing = signing || require('../../../src/lib/signing');

describe('Json web token validation', function() {

    this.timeout(10000);

    it('should decode valid jwts headers', function() {
        expect( qc.forAll( qcJWT.propertyHeaderJSON, qcJWT.arbJWT ) ).to.be(true);
    });

});
{'fraction_non_alphanumeric': 0.18867924528301888, 'fraction_numerical': 0.00589622641509434, 'mean_word_length': 3.639344262295082, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2944092', 'n_tokens_mistral': 288, 'n_tokens_neox': 278, 'n_words': 60}