<commit_before>'use strict';

var parser = require('../index.js');
// var jasmine = require('jasmine');

// var describe = jasmine.describe;
// var it = jasmine.it;
// var expect = jasmine.expect;

describe("onenote invalid deeplinks", function () {
    describe("parsing no link", function () {
        it("parsing null link", function () {
            var result = parser(null);
            expect(result.isValidUrl).toBe(false);
            expect(result.reason).toBe('url was null or undefined');
        });

        it("parsing undefined link", function () {
            var result = parser(undefined);
            expect(result.isValidUrl).toBe(false);
            expect(result.reason).toBe('there was no wd parameter or it did not contain a target');
        });
    });

    describe("parsing link with no query params", function () {
        it("parsing no wd param", function () {<commit_msg>removed comments<commit_after>'use strict';

var parser = require('../index.js');

describe("onenote invalid deeplinks", function () {
    describe("parsing no link", function () {
        it("parsing null link", function () {
            var result = parser(null);
            expect(result.isValidUrl).toBe(false);
            expect(result.reason).toBe('url was null or undefined');
        });

        it("parsing undefined link", function () {
            var result = parser(undefined);
            expect(result.isValidUrl).toBe(false);
            expect(result.reason).toBe('there was no wd parameter or it did not contain a target');
        });
    });

    describe("parsing link with no query params", function () {
        it("parsing no wd param", function () {
{'fraction_non_alphanumeric': 0.14098750743604996, 'fraction_numerical': 0.0, 'mean_word_length': 2.625, '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': '4299345', 'n_tokens_mistral': 448, 'n_tokens_neox': 440, 'n_words': 129}