<commit_before>import SurBTC from "../src";

describe("SurBTC", () => {
  it("exists", async () => {
    expect(SurBTC).toBeTruthy();
    const mkt = new SurBTC();
    const candle = await mkt.getCandle();
    expect(candle).toBeTruthy();
  });
});<commit_msg>Better SurBTC tests<commit_after>import SurBTC from "../src";

describe("SurBTC", () => {
  it("exists", async () => {
    expect(SurBTC).toBeTruthy();
    const mkt = new SurBTC();
    let candle = null;
    candle = await mkt.getCandle("BTC", "CLP");
    expect(candle).toBeTruthy();
    candle = await mkt.getCandle("ETH", "CLP");
    expect(candle).toBeTruthy();
  });
});
{'fraction_non_alphanumeric': 0.2059748427672956, 'fraction_numerical': 0.0, 'mean_word_length': 3.789473684210526, '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': '3505613', 'n_tokens_mistral': 236, 'n_tokens_neox': 236, 'n_words': 44}