2017-03-04 00:48:29 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-04-10 19:06:42 +03:00
|
|
|
exports[`angular_async.js 1`] = `
|
|
|
|
beforeEach(async(() => {
|
|
|
|
// code
|
|
|
|
}));
|
|
|
|
|
|
|
|
afterAll(async(() => {
|
|
|
|
console.log('Hello');
|
|
|
|
}));
|
|
|
|
|
|
|
|
it('should create the app', async(() => {
|
|
|
|
//code
|
|
|
|
}));
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", async(() => {
|
|
|
|
// code
|
|
|
|
}));
|
|
|
|
|
|
|
|
/*
|
|
|
|
* isTestCall(parent) should only be called when parent exists
|
|
|
|
* and parent.type is CallExpression. This test makes sure that
|
|
|
|
* no errors are thrown when calling isTestCall(parent)
|
|
|
|
*/
|
|
|
|
function x() { async(() => {}) }
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
beforeEach(async(() => {
|
|
|
|
// code
|
|
|
|
}));
|
|
|
|
|
|
|
|
afterAll(async(() => {
|
|
|
|
console.log("Hello");
|
|
|
|
}));
|
|
|
|
|
|
|
|
it("should create the app", async(() => {
|
|
|
|
//code
|
|
|
|
}));
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", async(() => {
|
|
|
|
// code
|
|
|
|
}));
|
|
|
|
|
|
|
|
/*
|
|
|
|
* isTestCall(parent) should only be called when parent exists
|
|
|
|
* and parent.type is CallExpression. This test makes sure that
|
|
|
|
* no errors are thrown when calling isTestCall(parent)
|
|
|
|
*/
|
|
|
|
function x() {
|
|
|
|
async(() => {});
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`angular_async.js 2`] = `
|
|
|
|
beforeEach(async(() => {
|
|
|
|
// code
|
|
|
|
}));
|
|
|
|
|
|
|
|
afterAll(async(() => {
|
|
|
|
console.log('Hello');
|
|
|
|
}));
|
|
|
|
|
|
|
|
it('should create the app', async(() => {
|
|
|
|
//code
|
|
|
|
}));
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", async(() => {
|
|
|
|
// code
|
|
|
|
}));
|
|
|
|
|
|
|
|
/*
|
|
|
|
* isTestCall(parent) should only be called when parent exists
|
|
|
|
* and parent.type is CallExpression. This test makes sure that
|
|
|
|
* no errors are thrown when calling isTestCall(parent)
|
|
|
|
*/
|
|
|
|
function x() { async(() => {}) }
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
beforeEach(async(() => {
|
|
|
|
// code
|
|
|
|
}));
|
|
|
|
|
|
|
|
afterAll(async(() => {
|
|
|
|
console.log("Hello");
|
|
|
|
}));
|
|
|
|
|
|
|
|
it("should create the app", async(() => {
|
|
|
|
//code
|
|
|
|
}));
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", async(() => {
|
|
|
|
// code
|
|
|
|
}));
|
|
|
|
|
|
|
|
/*
|
|
|
|
* isTestCall(parent) should only be called when parent exists
|
|
|
|
* and parent.type is CallExpression. This test makes sure that
|
|
|
|
* no errors are thrown when calling isTestCall(parent)
|
|
|
|
*/
|
|
|
|
function x() {
|
|
|
|
async(() => {});
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
2017-03-22 03:38:28 +03:00
|
|
|
exports[`test_declarations.js 1`] = `
|
2017-04-12 23:41:51 +03:00
|
|
|
// Shouldn't break
|
2017-03-04 00:48:29 +03:00
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", () => {
|
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
});
|
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function() {
|
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
});
|
|
|
|
|
2017-12-10 05:52:45 +03:00
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function(done) {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function myAssertions(done) {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
2017-03-07 19:36:03 +03:00
|
|
|
it(\`does something really long and complicated so I have to write a very long name for the test\`, function() {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-07 19:36:03 +03:00
|
|
|
});
|
|
|
|
|
2017-03-09 00:18:13 +03:00
|
|
|
it(\`{foo + bar} does something really long and complicated so I have to write a very long name for the test\`, function() {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-09 00:18:13 +03:00
|
|
|
});
|
|
|
|
|
|
|
|
it(\`handles
|
|
|
|
some
|
|
|
|
newlines
|
|
|
|
does something really long and complicated so I have to write a very long name for the test\`, () => {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-09 00:18:13 +03:00
|
|
|
})
|
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
test("does something really long and complicated so I have to write a very long name for the test", (done) => {
|
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
});
|
|
|
|
|
2017-03-07 19:36:03 +03:00
|
|
|
test(\`does something really long and complicated so I have to write a very long name for the test\`, (done) => {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-07 19:36:03 +03:00
|
|
|
});
|
|
|
|
|
2017-11-27 02:27:03 +03:00
|
|
|
test("does something really long and complicated so I have to write a very long name for the test", <T>(done) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
describe("does something really long and complicated so I have to write a very long name for the describe block", () => {
|
|
|
|
it("an example test", (done) => {
|
|
|
|
console.log("hello!");
|
2017-03-09 00:24:28 +03:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
describe(\`does something really long and complicated so I have to write a very long name for the describe block\`, () => {
|
|
|
|
it(\`an example test\`, (done) => {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-09 00:24:28 +03:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
2017-09-26 16:12:38 +03:00
|
|
|
xdescribe("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
fdescribe("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
describe.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
describe.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
fit("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
xit("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
2017-03-04 00:48:29 +03:00
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
it.only("does something really long and complicated so I have to write a very long name for the test", () => {
|
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
});
|
|
|
|
|
2017-03-07 19:36:03 +03:00
|
|
|
it.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-07 19:36:03 +03:00
|
|
|
});
|
|
|
|
|
2017-09-26 16:12:38 +03:00
|
|
|
it.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
test.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
test.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
ftest("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
xtest("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
2018-01-13 05:02:31 +03:00
|
|
|
skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
skip("does something really long and complicated so I have to write a very long name for the test", () => {});
|
|
|
|
|
2017-09-26 16:12:38 +03:00
|
|
|
// Should break
|
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
it.only("does something really long and complicated so I have to write a very long name for the test", 10, () => {
|
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
});
|
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
it.only.only("does something really long and complicated so I have to write a very long name for the test", () => {
|
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
});
|
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
it.only.only("does something really long and complicated so I have to write a very long name for the test", (a, b, c) => {
|
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
});
|
2018-01-13 05:02:31 +03:00
|
|
|
|
|
|
|
xskip("does something really long and complicated so I have to write a very long name for the test", () => {});
|
2017-03-04 00:48:29 +03:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
// Shouldn't break
|
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", () => {
|
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
});
|
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function() {
|
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
});
|
|
|
|
|
2017-12-10 05:52:45 +03:00
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function(done) {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function myAssertions(done) {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
2017-03-07 19:36:03 +03:00
|
|
|
it(\`does something really long and complicated so I have to write a very long name for the test\`, function() {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-07 19:36:03 +03:00
|
|
|
});
|
|
|
|
|
|
|
|
it(\`{foo + bar} does something really long and complicated so I have to write a very long name for the test\`, function() {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-07 19:36:03 +03:00
|
|
|
});
|
|
|
|
|
|
|
|
it(\`handles
|
|
|
|
some
|
|
|
|
newlines
|
|
|
|
does something really long and complicated so I have to write a very long name for the test\`, () => {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-07 19:36:03 +03:00
|
|
|
});
|
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
test("does something really long and complicated so I have to write a very long name for the test", done => {
|
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
});
|
|
|
|
|
2017-03-07 19:36:03 +03:00
|
|
|
test(\`does something really long and complicated so I have to write a very long name for the test\`, done => {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-07 19:36:03 +03:00
|
|
|
});
|
|
|
|
|
2017-11-27 02:40:11 +03:00
|
|
|
test("does something really long and complicated so I have to write a very long name for the test", <T>(done) => {
|
2017-11-27 02:27:03 +03:00
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
2017-04-12 23:41:51 +03:00
|
|
|
describe("does something really long and complicated so I have to write a very long name for the describe block", () => {
|
|
|
|
it("an example test", done => {
|
|
|
|
console.log("hello!");
|
2017-03-09 00:24:28 +03:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
describe(\`does something really long and complicated so I have to write a very long name for the describe block\`, () => {
|
|
|
|
it(\`an example test\`, done => {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-09 00:24:28 +03:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
2017-09-26 16:12:38 +03:00
|
|
|
xdescribe("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
2017-11-27 02:27:03 +03:00
|
|
|
|
|
|
|
fdescribe("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
describe.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
describe.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
fit("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
xit("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
it.only("does something really long and complicated so I have to write a very long name for the test", () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
test.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
test.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
ftest("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
xtest("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
2018-01-13 05:02:31 +03:00
|
|
|
skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
skip("does something really long and complicated so I have to write a very long name for the test", () => {});
|
|
|
|
|
2017-11-27 02:27:03 +03:00
|
|
|
// Should break
|
|
|
|
|
|
|
|
it.only(
|
|
|
|
"does something really long and complicated so I have to write a very long name for the test",
|
|
|
|
10,
|
|
|
|
() => {
|
|
|
|
console.log("hello!");
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
it.only.only(
|
|
|
|
"does something really long and complicated so I have to write a very long name for the test",
|
|
|
|
() => {
|
|
|
|
console.log("hello!");
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
it.only.only(
|
|
|
|
"does something really long and complicated so I have to write a very long name for the test",
|
|
|
|
(a, b, c) => {
|
|
|
|
console.log("hello!");
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
2018-01-13 05:02:31 +03:00
|
|
|
xskip(
|
|
|
|
"does something really long and complicated so I have to write a very long name for the test",
|
|
|
|
() => {}
|
|
|
|
);
|
|
|
|
|
2017-11-27 02:27:03 +03:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test_declarations.js 2`] = `
|
|
|
|
// Shouldn't break
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function() {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
2017-12-10 05:52:45 +03:00
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function(done) {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function myAssertions(done) {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
2017-11-27 02:27:03 +03:00
|
|
|
it(\`does something really long and complicated so I have to write a very long name for the test\`, function() {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it(\`{foo + bar} does something really long and complicated so I have to write a very long name for the test\`, function() {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it(\`handles
|
|
|
|
some
|
|
|
|
newlines
|
|
|
|
does something really long and complicated so I have to write a very long name for the test\`, () => {
|
|
|
|
console.log("hello!");
|
|
|
|
})
|
|
|
|
|
|
|
|
test("does something really long and complicated so I have to write a very long name for the test", (done) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
test(\`does something really long and complicated so I have to write a very long name for the test\`, (done) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
test("does something really long and complicated so I have to write a very long name for the test", <T>(done) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
describe("does something really long and complicated so I have to write a very long name for the describe block", () => {
|
|
|
|
it("an example test", (done) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
describe(\`does something really long and complicated so I have to write a very long name for the describe block\`, () => {
|
|
|
|
it(\`an example test\`, (done) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
xdescribe("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
fdescribe("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
describe.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
describe.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
fit("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
xit("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
it.only("does something really long and complicated so I have to write a very long name for the test", () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
test.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
test.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
ftest("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
xtest("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
2018-01-13 05:02:31 +03:00
|
|
|
skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
skip("does something really long and complicated so I have to write a very long name for the test", () => {});
|
|
|
|
|
2017-11-27 02:27:03 +03:00
|
|
|
// Should break
|
|
|
|
|
|
|
|
it.only("does something really long and complicated so I have to write a very long name for the test", 10, () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it.only.only("does something really long and complicated so I have to write a very long name for the test", () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it.only.only("does something really long and complicated so I have to write a very long name for the test", (a, b, c) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
2018-01-13 05:02:31 +03:00
|
|
|
|
|
|
|
xskip("does something really long and complicated so I have to write a very long name for the test", () => {});
|
2017-11-27 02:27:03 +03:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
// Shouldn't break
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function() {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
2017-12-10 05:52:45 +03:00
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function(done) {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it("does something really long and complicated so I have to write a very long name for the test", function myAssertions(done) {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
2017-11-27 02:27:03 +03:00
|
|
|
it(\`does something really long and complicated so I have to write a very long name for the test\`, function() {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it(\`{foo + bar} does something really long and complicated so I have to write a very long name for the test\`, function() {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it(\`handles
|
|
|
|
some
|
|
|
|
newlines
|
|
|
|
does something really long and complicated so I have to write a very long name for the test\`, () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
test("does something really long and complicated so I have to write a very long name for the test", (done) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
test(\`does something really long and complicated so I have to write a very long name for the test\`, (done) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
2017-11-27 02:40:11 +03:00
|
|
|
test("does something really long and complicated so I have to write a very long name for the test", <T>(done) => {
|
2017-11-27 02:27:03 +03:00
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
describe("does something really long and complicated so I have to write a very long name for the describe block", () => {
|
|
|
|
it("an example test", (done) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
describe(\`does something really long and complicated so I have to write a very long name for the describe block\`, () => {
|
|
|
|
it(\`an example test\`, (done) => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
xdescribe("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
2017-03-04 00:48:29 +03:00
|
|
|
|
2017-09-26 16:12:38 +03:00
|
|
|
fdescribe("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
2017-03-04 00:48:29 +03:00
|
|
|
|
2017-09-26 16:12:38 +03:00
|
|
|
describe.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
describe.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
fit("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
xit("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
it.only("does something really long and complicated so I have to write a very long name for the test", () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {
|
|
|
|
console.log("hello!");
|
|
|
|
});
|
|
|
|
|
|
|
|
it.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
test.only(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
test.skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
ftest("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
|
|
|
xtest("does something really long and complicated so I have to write a very long name for the describe block", () => {});
|
|
|
|
|
2018-01-13 05:02:31 +03:00
|
|
|
skip(\`does something really long and complicated so I have to write a very long name for the test\`, () => {});
|
|
|
|
|
|
|
|
skip("does something really long and complicated so I have to write a very long name for the test", () => {});
|
|
|
|
|
2017-09-26 16:12:38 +03:00
|
|
|
// Should break
|
2017-03-07 19:36:03 +03:00
|
|
|
|
2017-03-04 00:48:29 +03:00
|
|
|
it.only(
|
2017-04-12 23:41:51 +03:00
|
|
|
"does something really long and complicated so I have to write a very long name for the test",
|
2017-03-04 00:48:29 +03:00
|
|
|
10,
|
|
|
|
() => {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
it.only.only(
|
2017-04-12 23:41:51 +03:00
|
|
|
"does something really long and complicated so I have to write a very long name for the test",
|
2017-03-04 00:48:29 +03:00
|
|
|
() => {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
it.only.only(
|
2017-04-12 23:41:51 +03:00
|
|
|
"does something really long and complicated so I have to write a very long name for the test",
|
2017-03-04 00:48:29 +03:00
|
|
|
(a, b, c) => {
|
2017-04-12 23:41:51 +03:00
|
|
|
console.log("hello!");
|
2017-03-04 00:48:29 +03:00
|
|
|
}
|
|
|
|
);
|
2017-04-12 23:41:51 +03:00
|
|
|
|
2018-01-13 05:02:31 +03:00
|
|
|
xskip(
|
|
|
|
"does something really long and complicated so I have to write a very long name for the test",
|
|
|
|
() => {}
|
|
|
|
);
|
|
|
|
|
2017-03-04 00:48:29 +03:00
|
|
|
`;
|