<commit_before>import DomMock from '../../helpers/dom-mock';
import jsdom from 'mocha-jsdom';
import expect from 'expect';
import React from 'react';
import TestUtils from 'react-addons-test-utils';
import Privacy from '../../../src/components/Privacy';

DomMock('<html><body></body></html>');

describe('[Feedback] Testing Privacy Component', () => {
    jsdom({ skipWindowCheck: true });
    const info = {
        label: 'If Trend Micro has a follow-up survey on the Email Scan, would you like to participate?',
        terms: 'Yes, Trend Micro can reach me at this address:',
        input: 'Please enter your email address.'
    };
    const prefillData = {<commit_msg>Adjust unit test in policy component<commit_after>import DomMock from '../../helpers/dom-mock';
import jsdom from 'mocha-jsdom';
import expect from 'expect';
import React from 'react';
import TestUtils from 'react-addons-test-utils';
import Privacy from '../../../src/components/Privacy';

DomMock('<html><body></body></html>');

describe('[Feedback] Testing Privacy Component', () => {
    jsdom({ skipWindowCheck: true });
    const info = {
        label: 'If Trend Micro has a follow-up survey on Trend Micro Mail Scanner, would you like to participate?',
        terms: 'Yes, Trend Micro can reach me at this address:',
        input: 'Please enter your email address.'
    };
    const prefillData = {
{'fraction_non_alphanumeric': 0.14337436640115858, 'fraction_numerical': 0.0, 'mean_word_length': 3.6220735785953178, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '3002993', 'n_tokens_mistral': 388, 'n_tokens_neox': 386, 'n_words': 144}