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

chore(deps): bump braces, babel-jest and jest #16

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
456 changes: 228 additions & 228 deletions __tests__/integrations/cli/__snapshots__/test-badge-reporter.js.snap

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`CLI exit value should exit with code 0 when total coverage is higher than the custom threshold 1`] = `
Object {
{
"error": null,
"exitCode": 0,
}
`;

exports[`CLI exit value should exit with code 2 when total coverage is lower than the custom threshold 1`] = `
Object {
{
"error": [Error: Command failed: flow-coverage-report.js -i "src/*.js" --threshold 22
Flow Coverage 16% is below the required threshold 22%
],
Expand All @@ -17,7 +17,7 @@ Flow Coverage 16% is below the required threshold 22%
`;

exports[`CLI exit value should exit with code 2 when total coverage is lower than the default threshold 1`] = `
Object {
{
"error": [Error: Command failed: flow-coverage-report.js -i "src/*.js"
Flow Coverage 16% is below the required threshold 80%
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Fixed #92 - Escape special chars in filenames 1`] = `
Object {
"filteredStdout": Array [
{
"filteredStdout": [
"│ src/file-with-a space.js │ flow │ 100 % │ 3 │ 3 │ 0 │",
"│ src/file-with-a-\\"-char.js │ flow │ 100 % │ 3 │ 3 │ 0 │",
"│ src/file-with-a-"-char.js │ flow │ 100 % │ 3 │ 3 │ 0 │",
"│ src/file-with-a-$-char.js │ flow │ 100 % │ 3 │ 3 │ 0 │",
"│ src/file-with-a-'-char.js │ flow │ 100 % │ 3 │ 3 │ 0 │",
"│ src/file-with-a-\\\\-char.js │ flow │ 100 % │ 3 │ 3 │ 0 │",
"│ src/file-with-a-\\-char.js │ flow │ 100 % │ 3 │ 3 │ 0 │",
"│ src/file-with-a-\`-char.js │ flow │ 100 % │ 3 │ 3 │ 0 │",
],
"stderr": "",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Accept '@flow strict' and '@flow strict-local' pragmas 1`] = `
Object {
"filteredStdoutLocal": Array [
{
"filteredStdoutLocal": [
"│ src/local.js │ flow strict-local │ 100 % │ 0 │ 0 │ 0 │",
],
"filteredStdoutMain": Array [
"filteredStdoutMain": [
"│ src/main.js │ flow strict │ 100 % │ 0 │ 0 │ 0 │",
],
"stderr": "",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Fixed #135 - Annotation wrong on multiple pragma on the same line 1`] = `
Object {
"filteredStdout": Array [
{
"filteredStdout": [
"│ src/multiple-pragmas.js │ flow │ 100 % │ 0 │ 0 │ 0 │",
],
"stderr": "",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Legacy config warnings should log warning messages for legacy config names 1`] = `
Object {
{
"error": null,
"exitCode": 0,
"stderr": "WARN: \\"includeGlob\\" config file property has been renamed to \\"globIncludePatterns\\"
WARN: \\"excludeGlob\\" config file property has been renamed to \\"globExcludePatterns\\"
WARN: \\"type\\" config file property has been renamed to \\"reportTypes\\"
"stderr": "WARN: "includeGlob" config file property has been renamed to "globIncludePatterns"
WARN: "excludeGlob" config file property has been renamed to "globExcludePatterns"
WARN: "type" config file property has been renamed to "reportTypes"
",
}
`;
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`--percent-decimals option should round percent values using the requested precision 1`] = `
Object {
{
"error": [Error: Command failed: flow-coverage-report.js --percent-decimals 2 -i "src/**.js"
Flow Coverage 16.67% is below the required threshold 80%
],
"exitCode": 2,
"filteredStdout": Array [
"filteredStdout": [
"│ src/main.js │ flow │ 16.67 % │ 6 │ 1 │ 5 │",
"│ project-decimal-coverage │ 16.67 % │ 6 │ 1 │ 5 │",
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Fixed #57 - NaN in text report 1`] = `
Object {
"filteredStdout": Array [
{
"filteredStdout": [
"│ src/url.js │ flow │ 0 % │ 10 │ 0 │ 10 │",
],
"stderr": "Flow Coverage 0% is below the required threshold 80%
Expand Down
Loading
Loading