<commit_before>import { expect } from 'chai'
import { after, before, describe, test } from 'mocha'
import { Environment, Space } from '../../lib/export-types'

import { waitForReleaseActionProcessing } from '../../lib/methods/release-action'
import { TestDefaults } from '../defaults'
import { createTestSpace, initPlainClient, initClient } from '../helpers'
import { makeLink } from '../utils'

// eslint-disable-next-line no-only-tests/no-only-tests
describe.only('Release Api', async function () {
  let testSpace: Space
  let testEnvironment: Environment

  before(async () => {
    try {
      testSpace = (await createTestSpace(initClient(), 'Releases')) as unknown as Space
      testEnvironment = (await testSpace.getEnvironment('master')) as unknown as Environment
      const contentType = await testEnvironment.createContentTypeWithId('testContentType', {
        name: 'testContentType',
        fields: [
          {
            id: 'title',
            name: 'Title',
            localized: false,
            required: false,
            type: 'Symbol',<commit_msg>fix(tests): remove .only from release test (#1280)<commit_after>import { expect } from 'chai'
import { before, describe, test } from 'mocha'
import { Environment, Space } from '../../lib/export-types'

import { waitForReleaseActionProcessing } from '../../lib/methods/release-action'
import { TestDefaults } from '../defaults'
import { createTestSpace, initPlainClient, initClient } from '../helpers'
import { makeLink } from '../utils'

describe('Release Api', async function () {
  let testSpace: Space
  let testEnvironment: Environment

  before(async () => {
    try {
      testSpace = (await createTestSpace(initClient(), 'Releases')) as unknown as Space
      testEnvironment = (await testSpace.getEnvironment('master')) as unknown as Environment
      const contentType = await testEnvironment.createContentTypeWithId('testContentType', {
        name: 'testContentType',
        fields: [
          {
            id: 'title',
            name: 'Title',
            localized: false,
            required: false,
            type: 'Symbol',
{'fraction_non_alphanumeric': 0.12728980742132456, 'fraction_numerical': 0.0018788163457022077, 'mean_word_length': 3.1199226305609282, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6632772', 'n_tokens_mistral': 560, 'n_tokens_neox': 559, 'n_words': 162}