<commit_before>{WorkspaceView} = require 'atom'
Path = require 'path'
Fs = require 'fs'

describe "Emmet", ->
  [buffer, editor, editorView, editSession, workspaceView] = []

  beforeEach ->
    atom.workspaceView = new WorkspaceView
    workspaceView = atom.workspaceView

    atom.packages.activatePackage("emmet")
    atom.packages.activatePackage("snippets") # to intentionally disrupt tab expansion
    atom.packages.activatePackage('language-css', sync: true)
    atom.packages.activatePackage('language-html', sync: true)

    workspaceView.simulateDomAttachment()
    workspaceView.enableKeymap()<commit_msg>Wait for package activation promises<commit_after>{WorkspaceView} = require 'atom'
Path = require 'path'
Fs = require 'fs'

describe "Emmet", ->
  [buffer, editor, editorView, editSession, workspaceView] = []

  beforeEach ->
    atom.workspaceView = new WorkspaceView
    workspaceView = atom.workspaceView

    waitsForPromise ->
      atom.packages.activatePackage("emmet")

    waitsForPromise ->
      atom.packages.activatePackage("snippets") # to intentionally disrupt tab expansion

    waitsForPromise ->
      atom.packages.activatePackage('language-css', sync: true)

    waitsForPromise ->
      atom.packages.activatePackage('language-html', sync: true)

    runs ->
      workspaceView.simulateDomAttachment()
      workspaceView.enableKeymap()
{'fraction_non_alphanumeric': 0.11062590975254731, 'fraction_numerical': 0.0, 'mean_word_length': 4.308880308880309, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '1167522', 'n_tokens_mistral': 388, 'n_tokens_neox': 383, 'n_words': 82}