<commit_before>'use strict'

import '../../js/misc'

import o from '../../../../ospec/ospec.js'
import mq from 'mithril-query'

import Toolbar from '../../../../app/js/containers/Toolbar'

o.spec('toolbar container', () => {
  o.spec('structure', () => {
    o('toolbar has h1', () => {
      o(mq(Toolbar).has('h1')).equals(true)
    })
  })
  // o.spec('behaviour', () => {
  //   o('behaves', () => {
  //     o(true).equals(true)
  //   })
  // })
})<commit_msg>refactor(test): perform only one test<commit_after>'use strict'

import '../../js/misc'

import o from '../../../../ospec/ospec.js'
import mq from 'mithril-query'

import Toolbar from '../../../../app/js/containers/Toolbar'

o.spec('toolbar container', () => {
  o.spec('structure', () => {
    o.only('toolbar has h1', () => {
      o(mq(Toolbar).has('h1')).equals(true)
    })
  })
  // o.spec('behaviour', () => {
  //   o('behaves', () => {
  //     o(true).equals(true)
  //   })
  // })
})
{'fraction_non_alphanumeric': 0.2851196670135276, 'fraction_numerical': 0.004162330905306972, 'mean_word_length': 2.2945205479452055, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6801841', 'n_tokens_mistral': 355, 'n_tokens_neox': 358, 'n_words': 56}