<commit_before>import * as chai from "chai";
import * as chaiAsPromised from "chai-as-promised";
import * as protractor from "protractor";

before(() => {
  chai.use(chaiAsPromised);
});

describe("End2end test suite (typescript)", () => {
  it("should load completely and have a title", () => {
    protractor.browser.loadAndWaitForAureliaPage("/");
    return chai.expect(protractor.browser.getTitle()).to.eventually.be.equal("Say Hello World! | Hello World");
  });
});<commit_msg>Use await syntax.<commit_after>import * as chai from "chai";
import * as chaiAsPromised from "chai-as-promised";
import * as protractor from "protractor";

before(() => {
  chai.use(chaiAsPromised);
});

describe("End2end test suite (typescript)", () => {
  it("should load completely and have a title", async() => {
    protractor.browser.loadAndWaitForAureliaPage("/");
    await chai.expect(protractor.browser.getTitle()).to.eventually.be.equal("Say Hello World! | Hello World");
  });
});
{'fraction_non_alphanumeric': 0.16905737704918034, 'fraction_numerical': 0.0020491803278688526, 'mean_word_length': 5.10625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1314658', 'n_tokens_mistral': 326, 'n_tokens_neox': 314, 'n_words': 73}