Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming files names WIP Addresses #3771 #3798

Merged
merged 1 commit into from
Jun 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`console printing 1`] = `
" PASS __tests__/console-test.js
" PASS __tests__/console.test.js
● Console

console.log __tests__/console-test.js:11
console.log __tests__/console.test.js:11
This is a log message.
console.info __tests__/console-test.js:13
console.info __tests__/console.test.js:13
This is an info message.
console.warn __tests__/console-test.js:15
console.warn __tests__/console.test.js:15
This is a warning message.
console.error __tests__/console-test.js:17
console.error __tests__/console.test.js:17
This is an error message.


Expand All @@ -27,23 +27,23 @@ Ran all test suites.
`;

exports[`console printing with --verbose 1`] = `
" console.log __tests__/console-test.js:11
" console.log __tests__/console.test.js:11
This is a log message.

console.info __tests__/console-test.js:13
console.info __tests__/console.test.js:13
This is an info message.

console.warn __tests__/console-test.js:15
console.warn __tests__/console.test.js:15
This is a warning message.

console.error __tests__/console-test.js:17
console.error __tests__/console.test.js:17
This is an error message.

"
`;

exports[`console printing with --verbose 2`] = `
" PASS __tests__/console-test.js
" PASS __tests__/console.test.js
✓ works just fine

"
Expand All @@ -61,7 +61,7 @@ Ran all test suites.
exports[`does not print to console with --silent 1`] = `""`;

exports[`does not print to console with --silent 2`] = `
" PASS __tests__/console-test.js
" PASS __tests__/console.test.js

"
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ Object {
"hello": "world",
"maxWorkers": "<<REPLACED>>",
"pattern": Object {
"input": "add-fail-test.js",
"input": "add_fail.test.js",
"paths": Array [
"add-fail-test.js",
"add_fail.test.js",
],
"shouldTreatInputAsPattern": false,
"testPathPattern": "add-fail-test.js",
"testPathPattern": "add_fail.test.js",
},
"testPathPattern": "\\"add-fail-test.js\\"",
"testPathPattern": "\\"add_fail.test.js\\"",
},
}
`;
Expand Down Expand Up @@ -72,20 +72,20 @@ Object {
"hello": "world",
"maxWorkers": "<<REPLACED>>",
"pattern": Object {
"input": "add-test.js",
"input": "add.test.js",
"paths": Array [
"add-test.js",
"add.test.js",
],
"shouldTreatInputAsPattern": false,
"testPathPattern": "add-test.js",
"testPathPattern": "add.test.js",
},
"testPathPattern": "\\"add-test.js\\"",
"testPathPattern": "\\"add.test.js\\"",
},
}
`;

exports[`Custom Reporters Integration default reporters enabled 1`] = `
" PASS __tests__/add-test.js
" PASS __tests__/add.test.js
Custom Reporters
✓ adds ok

Expand All @@ -97,7 +97,7 @@ exports[`Custom Reporters Integration default reporters enabled 2`] = `
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites matching \\"add-test.js\\".
Ran all test suites matching \\"add.test.js\\".
"
`;

Expand All @@ -124,14 +124,14 @@ Object {
"options": Object {
"maxWorkers": "<<REPLACED>>",
"pattern": Object {
"input": "add-test.js",
"input": "add.test.js",
"paths": Array [
"add-test.js",
"add.test.js",
],
"shouldTreatInputAsPattern": false,
"testPathPattern": "add-test.js",
"testPathPattern": "add.test.js",
},
"testPathPattern": "\\"add-test.js\\"",
"testPathPattern": "\\"add.test.js\\"",
},
}
`;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`not throwing Error objects 1`] = `
" FAIL __tests__/throw-number-test.js
" FAIL __tests__/throw_number.test.js
● Test suite failed to run

Expected an Error, but \\"1\\" was thrown
Expand All @@ -10,7 +10,7 @@ exports[`not throwing Error objects 1`] = `
`;

exports[`not throwing Error objects 2`] = `
" FAIL __tests__/throw-string-test.js
" FAIL __tests__/throw_string.test.js
● Test suite failed to run

Error
Expand All @@ -20,7 +20,7 @@ exports[`not throwing Error objects 2`] = `
`;

exports[`not throwing Error objects 3`] = `
" FAIL __tests__/throw-object-test.js
" FAIL __tests__/throw_object.test.js
● Test suite failed to run

Error: No message was provided
Expand All @@ -29,20 +29,20 @@ exports[`not throwing Error objects 3`] = `
`;

exports[`not throwing Error objects 4`] = `
" FAIL __tests__/assertion-count-test.js
" FAIL __tests__/assertion_count.test.js
● .assertions() › throws
expect(received).toBeTruthy()
Expected value to be truthy, instead received
false
at __tests__/assertion-count-test.js:14:17
at __tests__/assertion_count.test.js:14:17
● .assertions() › throws
expect.assertions(2)
Expected two assertions to be called but only received one assertion call.
● .assertions() › throws on redeclare of assertion count
expect(received).toBeTruthy()
Expected value to be truthy, instead received
false
at __tests__/assertion-count-test.js:18:17
at __tests__/assertion_count.test.js:18:17
● .assertions() › throws on assertion
expect.assertions(0)
Expected zero assertions to be called but only received one assertion call.
Expand All @@ -59,7 +59,7 @@ exports[`not throwing Error objects 4`] = `
`;

exports[`works with node assert 1`] = `
" FAIL __tests__/node-assertion-error-test.js
" FAIL __tests__/node_assertion_error.test.js
● assert

assert.equal(received, expected) or assert(received)
Expand All @@ -69,7 +69,7 @@ exports[`works with node assert 1`] = `
Received:
false

at __tests__/node-assertion-error-test.js:16:3
at __tests__/node_assertion_error.test.js:16:3

● assert with a message

Expand All @@ -83,7 +83,7 @@ exports[`works with node assert 1`] = `
Message:
this is a message

at __tests__/node-assertion-error-test.js:20:3
at __tests__/node_assertion_error.test.js:20:3

● assert.ok

Expand All @@ -94,7 +94,7 @@ exports[`works with node assert 1`] = `
Received:
false

at __tests__/node-assertion-error-test.js:24:10
at __tests__/node_assertion_error.test.js:24:10

● assert.ok with a message

Expand All @@ -108,7 +108,7 @@ exports[`works with node assert 1`] = `
Message:
this is a message

at __tests__/node-assertion-error-test.js:28:10
at __tests__/node_assertion_error.test.js:28:10

● assert.equal

Expand All @@ -119,7 +119,7 @@ exports[`works with node assert 1`] = `
Received:
1

at __tests__/node-assertion-error-test.js:32:10
at __tests__/node_assertion_error.test.js:32:10

● assert.notEqual

Expand All @@ -134,7 +134,7 @@ exports[`works with node assert 1`] = `

Compared values have no visual difference.

at __tests__/node-assertion-error-test.js:36:10
at __tests__/node_assertion_error.test.js:36:10

● assert.deepEqual

Expand All @@ -159,7 +159,7 @@ exports[`works with node assert 1`] = `
},
}

at __tests__/node-assertion-error-test.js:40:10
at __tests__/node_assertion_error.test.js:40:10

● assert.deepEqual with a message

Expand Down Expand Up @@ -187,7 +187,7 @@ exports[`works with node assert 1`] = `
},
}

at __tests__/node-assertion-error-test.js:44:10
at __tests__/node_assertion_error.test.js:44:10

● assert.notDeepEqual

Expand All @@ -202,7 +202,7 @@ exports[`works with node assert 1`] = `

Compared values have no visual difference.

at __tests__/node-assertion-error-test.js:48:10
at __tests__/node_assertion_error.test.js:48:10

● assert.strictEqual

Expand All @@ -213,7 +213,7 @@ exports[`works with node assert 1`] = `
Received:
1

at __tests__/node-assertion-error-test.js:52:10
at __tests__/node_assertion_error.test.js:52:10

● assert.notStrictEqual

Expand All @@ -231,7 +231,7 @@ exports[`works with node assert 1`] = `

Compared values have no visual difference.

at __tests__/node-assertion-error-test.js:56:10
at __tests__/node_assertion_error.test.js:56:10

● assert.deepStrictEqual

Expand All @@ -252,7 +252,7 @@ exports[`works with node assert 1`] = `
+ \\"a\\": 1,
}

at __tests__/node-assertion-error-test.js:60:10
at __tests__/node_assertion_error.test.js:60:10

● assert.notDeepStrictEqual

Expand All @@ -267,7 +267,7 @@ exports[`works with node assert 1`] = `

Compared values have no visual difference.

at __tests__/node-assertion-error-test.js:64:10
at __tests__/node_assertion_error.test.js:64:10

● assert.ifError

Expand All @@ -285,7 +285,7 @@ exports[`works with node assert 1`] = `
Message:
Got unwanted exception.

at __tests__/node-assertion-error-test.js:72:10
at __tests__/node_assertion_error.test.js:72:10

● assert.throws

Expand All @@ -297,7 +297,7 @@ exports[`works with node assert 1`] = `
Message:
Missing expected exception.

at __tests__/node-assertion-error-test.js:78:10
at __tests__/node_assertion_error.test.js:78:10

✕ assert
✕ assert with a message
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`basic test constructs 1`] = `
" PASS __tests__/basic-test-constructs-test.js
" PASS __tests__/basic.test-constructs.test.js
✓ it
✓ test
describe
Expand All @@ -21,7 +21,7 @@ Ran all test suites.
`;

exports[`only 1`] = `
" PASS __tests__/only-constructs-test.js
" PASS __tests__/only-constructs.test.js
✓ test.only
✓ it.only
✓ fit
Expand All @@ -47,7 +47,7 @@ Ran all test suites.
`;

exports[`only with expand arg 1`] = `
" PASS __tests__/only-constructs-test.js
" PASS __tests__/only-constructs.test.js
○ it
✓ test.only
✓ it.only
Expand All @@ -73,7 +73,7 @@ Ran all test suites.
`;

exports[`skips 1`] = `
" PASS __tests__/skips-constructs-test.js
" PASS __tests__/skips-constructs.test.js
✓ it
○ skipped 4 tests
xdescribe
Expand All @@ -96,7 +96,7 @@ Ran all test suites.
`;

exports[`skips with expand arg 1`] = `
" PASS __tests__/skips-constructs-test.js
" PASS __tests__/skips-constructs.test.js
✓ it
○ xtest
○ xit
Expand All @@ -123,7 +123,7 @@ Ran all test suites.
`;

exports[`tests with no implementation 1`] = `
" PASS __tests__/only-constructs-test.js
" PASS __tests__/only-constructs.test.js
✓ it
○ skipped 2 tests

Expand All @@ -140,7 +140,7 @@ Ran all test suites.
`;

exports[`tests with no implementation with expand arg 1`] = `
" PASS __tests__/only-constructs-test.js
" PASS __tests__/only-constructs.test.js
✓ it
○ it, no implementation
○ test, no implementation
Expand Down
Loading