<commit_before>require "minitest/autorun"
require "minitest/pride"
require "minitest/reporters"
MiniTest::Reporters.use!

describe "Insert" do
  it "should prepend to document" do
    true
  end

  it "should append to document" do
    true #raise "Error!"
  end
end<commit_msg>Added setup to run before each test.<commit_after>require "minitest/autorun"
require "minitest/pride"
require "minitest/reporters"
MiniTest::Reporters.use!


describe "Test Insert" do
  before do
    editor_url = "file://#{File.join(File.expand_path(__FILE__),
      '../../../..', 'build/tests/webdriver.html')}"
    @driver = ScribeDriver.create_scribe_driver(:chrome, editor_url)
    @editor = @driver.find_element(:class, "editor")
    @adapter = WebdriverAdapter.new @driver, @editor
    @adapter.focus()
    ScribeDriver.js_set_doc_delta(@driver)
  end

  it "should append to document" do
    true #raise "Error!"
  end
end
{'fraction_non_alphanumeric': 0.1288546255506608, 'fraction_numerical': 0.0, 'mean_word_length': 4.224137931034483, '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': '338720', 'n_tokens_mistral': 309, 'n_tokens_neox': 306, 'n_words': 74}