<commit_before>import { WorkspaceClient } from './utils';
import { Query } from './queries';

const { GetContractNames } = Query;

describe("ContractNames", () => {
  it("queries contract names", async () => {
    const client = new WorkspaceClient();

    const data = await client.execute(GetContractNames);
    expect(data).toHaveProperty("contractNames");

    const { contractNames } = data;
    expect(contractNames).toEqual([]);
  });
});

<commit_msg>Refactor contractNames tests<commit_after>import { WorkspaceClient } from './utils';
import { Query } from './queries';

const { GetContractNames } = Query;

describe("ContractNames", () => {
  test("can be queried", async () => {
    const wsClient = new WorkspaceClient();

    const result = await wsClient.execute(GetContractNames);
    expect(result).toHaveProperty("contractNames");

    const { contractNames } = result;
    expect(contractNames).toEqual([]);
  });
});


{'fraction_non_alphanumeric': 0.15795090715048027, 'fraction_numerical': 0.0, 'mean_word_length': 4.421965317919075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '255393', 'n_tokens_mistral': 267, 'n_tokens_neox': 259, 'n_words': 60}