<commit_before>import * as consoleActions from "../../../src/console/app/actions";
import {
  HIDE,
  HIDE_COMMAND,
  SHOW_COMMAND,
  SHOW_ERROR,
  SHOW_FIND,
  SHOW_INFO,
} from "../../../src/console/app/actions";

import browserFake from "webextensions-api-fake";

describe("console actions", () => {
  beforeEach(() => {
    (global as any).browser = browserFake();
  });

  describe("hide", () => {
    it("create CONSOLE_HIDE action", () => {
      const action = consoleActions.hide();<commit_msg>Do not use webextensions-api-fake<commit_after>import * as consoleActions from "../../../src/console/app/actions";
import {
  HIDE,
  HIDE_COMMAND,
  SHOW_COMMAND,
  SHOW_ERROR,
  SHOW_FIND,
  SHOW_INFO,
} from "../../../src/console/app/actions";

describe("console actions", () => {
  describe("hide", () => {
    it("create CONSOLE_HIDE action", () => {
      const action = consoleActions.hide();
{'fraction_non_alphanumeric': 0.18957871396895787, 'fraction_numerical': 0.0, 'mean_word_length': 3.4702970297029703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, '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': '5504067', 'n_tokens_mistral': 304, 'n_tokens_neox': 308, 'n_words': 57}