<commit_before>import customCallbackHandler from './customCallbackHandler.js';
import { getters, state } from './../../store/index.js';
import getActiveToolsForElement from './../../store/getActiveToolsForElement.js';

jest.mock('./../../store/index.js', () => ({
  state: {
    isToolLocked: false,
    tools: [
      {
        aDifferentCustomFunctionName: jest.fn()
      },
      {
        customFunctionName: jest.fn()
      },
      {
        customFunctionName: jest.fn()
      }
    ]
  },
  getters: {
    touchTools: jest.fn(),
    mouseTools: jest.fn()
  }
}));

jest.mock('./../../store/getActiveToolsForElement.js', () => jest.fn());<commit_msg>Fix first set of tests that expect `supportedInteractionTypes` on tool object<commit_after>import customCallbackHandler from './customCallbackHandler.js';
import { getters, state } from './../../store/index.js';
import getActiveToolsForElement from './../../store/getActiveToolsForElement.js';

jest.mock('./../../store/index.js', () => ({
  state: {
    isToolLocked: false,
    tools: [
      {
        aDifferentCustomFunctionName: jest.fn(),
        supportedInteractionTypes: ['Mouse']
      },
      {
        customFunctionName: jest.fn(),
        supportedInteractionTypes: ['Mouse', 'Touch']
      },
      {
        customFunctionName: jest.fn(),
        supportedInteractionTypes: ['Touch']
      }
    ]
  },
  getters: {
    touchTools: jest.fn(),
    mouseTools: jest.fn()
  }
}));

jest.mock('./../../store/getActiveToolsForElement.js', () => jest.fn());
{'fraction_non_alphanumeric': 0.18271119842829076, 'fraction_numerical': 0.0, 'mean_word_length': 2.6037735849056602, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5393117', 'n_tokens_mistral': 455, 'n_tokens_neox': 450, 'n_words': 78}