<commit_before>import { install, list, schema, uninstall, upgrade } from './plugins'

describe('plugins', () => {
  test('schema', () => {
    expect(schema()).toEqual(
      expect.objectContaining({
        $schema: 'http://json-schema.org/draft-07/schema#',
        title: 'Plugin',
        type: 'object',
        properties: expect.objectContaining({
          name: { description: 'The name of the plugin', type: 'string' },
        }),
      })
    )
  })

  test('list', () => {
    expect(list()).toEqual(expect.arrayContaining([]))
  })

  test.skip('install', () => {
    expect(install('javascript')).toEqual(expect.arrayContaining([]))
  })

  test('uninstall', () => {
    expect(uninstall('javascript')).toEqual(expect.arrayContaining([]))
  })

  test.skip('upgrade', () => {
    expect(upgrade('javascript')).toEqual(expect.arrayContaining([]))
  })
})<commit_msg>test(Node.js bindings): Fix test for change<commit_after>import { install, list, schema, uninstall, upgrade } from './plugins'

describe('plugins', () => {
  test('schema', () => {
    expect(schema()).toEqual(
      expect.objectContaining({
        $schema: 'http://json-schema.org/draft-07/schema#',
        title: 'Description of a plugin',
        type: 'object',
        properties: expect.objectContaining({
          name: { description: 'The name of the plugin', type: 'string' },
        }),
      })
    )
  })

  test('list', () => {
    expect(list()).toEqual(expect.arrayContaining([]))
  })

  test.skip('install', () => {
    expect(install('javascript')).toEqual(expect.arrayContaining([]))
  })

  test('uninstall', () => {
    expect(uninstall('javascript')).toEqual(expect.arrayContaining([]))
  })

  test.skip('upgrade', () => {
    expect(upgrade('javascript')).toEqual(expect.arrayContaining([]))
  })
})
{'fraction_non_alphanumeric': 0.208955223880597, 'fraction_numerical': 0.002211166390270868, 'mean_word_length': 3.4146341463414633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '2816606', 'n_tokens_mistral': 547, 'n_tokens_neox': 545, 'n_words': 82}