<commit_before>import React from 'react'
import { Textarea } from 'stardust'

describe('Textarea', () => {
  it('has a default value', () => {
    deprecatedRender(<Textarea defaultValue='Hello World' />)
      .findTag('textarea')
      .value.should.equal('Hello World')
  })
  it('has a name assigned', () => {
    deprecatedRender(<Textarea name='sample-post' />)
      .first()
      .props.name.should.equal('sample-post')
  })
  it('has assigned amount of rows', () => {
    deprecatedRender(<Textarea rows='6' />)
      .findTag('textarea')
      .getAttribute('rows')
      .should.equal('6')
  })
})<commit_msg>test(Textarea): conformance<commit_after>import React from 'react'

import { Textarea } from 'stardust'
import * as common from '../commonTests'

describe('Textarea', () => {
  common.isConformant(Textarea)

  it('has a default value', () => {
    deprecatedRender(<Textarea defaultValue='Hello World' />)
      .findTag('textarea')
      .value.should.equal('Hello World')
  })
  it('has a name assigned', () => {
    deprecatedRender(<Textarea name='sample-post' />)
      .first()
      .props.name.should.equal('sample-post')
  })
  it('has assigned amount of rows', () => {
    deprecatedRender(<Textarea rows='6' />)
      .findTag('textarea')
      .getAttribute('rows')
      .should.equal('6')
  })
})
{'fraction_non_alphanumeric': 0.18632607062359127, 'fraction_numerical': 0.003005259203606311, 'mean_word_length': 3.425249169435216, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, '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': '5376799', 'n_tokens_mistral': 431, 'n_tokens_neox': 419, 'n_words': 81}