Skip to content

Commit

Permalink
chore(updatedependencies): update various dependencies (#58)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop the support of node 10 12 and 14
  • Loading branch information
dogpatch626 authored Jan 13, 2023
1 parent 99ce578 commit 757cd68
Show file tree
Hide file tree
Showing 5 changed files with 16,109 additions and 25,108 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '10.x', '12.x', '14.x', '16.x', '18.x' ]
node: [ '16.x', '18.x' ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

## [6.0.1](https://github.com/americanexpress/amex-jest-preset/compare/v6.0.0...v6.0.1) (2020-03-03)


### Bug Fixes

* **tests:** update report creator to pass on windows ([7deb9cc](https://github.com/americanexpress/amex-jest-preset/commit/7deb9ccdd0850608994b5c4abbda8fb14cd4895e))
92 changes: 46 additions & 46 deletions __tests__/__snapshots__/html-report-creator.spec.js.snap
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`html-report-creator should correctly render failing tests 1`] = `
"<?xml version=\\"1.0\\"?>
"<?xml version="1.0"?>
<html>
<head>
<meta charset=\\"utf-8\\"/>
<meta charset="utf-8"/>
<title>Jest test results</title>
<style type=\\"text/css\\">
<style type="text/css">
html, body {
font-family: sans-serif;
font-size: 1rem;
Expand Down Expand Up @@ -47,7 +47,7 @@ exports[`html-report-creator should correctly render failing tests 1`] = `
}
</style>
</head>
<div class=\\"summary\\">
<div class="summary">
<div>
Test Suites: 0 passed,
1 failed,
Expand All @@ -61,15 +61,15 @@ exports[`html-report-creator should correctly render failing tests 1`] = `
1 total
</div>
</div>
<div class=\\"suite-info\\">
<div class="suite-info">
/path/to/__tests__/test.spec.js
(0.297s)
</div>
<table class=\\"suite-table\\">
<tr class=\\"failed\\">
<table class="suite-table">
<tr class="failed">
<td>
✘ test should work
<span class=\\"result\\">failed in 0.004s</span>
<span class="result">failed in 0.004s</span>
<div>
<pre>This test failed yo!</pre>
</div>
Expand All @@ -80,12 +80,12 @@ exports[`html-report-creator should correctly render failing tests 1`] = `
`;

exports[`html-report-creator should correctly render passing tests 1`] = `
"<?xml version=\\"1.0\\"?>
"<?xml version="1.0"?>
<html>
<head>
<meta charset=\\"utf-8\\"/>
<meta charset="utf-8"/>
<title>Jest test results</title>
<style type=\\"text/css\\">
<style type="text/css">
html, body {
font-family: sans-serif;
font-size: 1rem;
Expand Down Expand Up @@ -126,7 +126,7 @@ exports[`html-report-creator should correctly render passing tests 1`] = `
}
</style>
</head>
<div class=\\"summary\\">
<div class="summary">
<div>
Test Suites: 1 passed,
0 failed,
Expand All @@ -140,28 +140,28 @@ exports[`html-report-creator should correctly render passing tests 1`] = `
1 total
</div>
</div>
<div class=\\"suite-info\\">
<div class="suite-info">
/path/to/__tests__/test.spec.js
(0.297s)
</div>
<table class=\\"suite-table\\">
<tr class=\\"passed\\">
<table class="suite-table">
<tr class="passed">
<td>
✔ test should work
<span class=\\"result\\">passed in 0.004s</span>
<span class="result">passed in 0.004s</span>
</td>
</tr>
</table>
</html>"
`;

exports[`html-report-creator should ignore null plainFailureMessages 1`] = `
"<?xml version=\\"1.0\\"?>
"<?xml version="1.0"?>
<html>
<head>
<meta charset=\\"utf-8\\"/>
<meta charset="utf-8"/>
<title>Jest test results</title>
<style type=\\"text/css\\">
<style type="text/css">
html, body {
font-family: sans-serif;
font-size: 1rem;
Expand Down Expand Up @@ -202,7 +202,7 @@ exports[`html-report-creator should ignore null plainFailureMessages 1`] = `
}
</style>
</head>
<div class=\\"summary\\">
<div class="summary">
<div>
Test Suites: 0 passed,
1 failed,
Expand All @@ -216,15 +216,15 @@ exports[`html-report-creator should ignore null plainFailureMessages 1`] = `
1 total
</div>
</div>
<div class=\\"suite-info\\">
<div class="suite-info">
/path/to/__tests__/test.spec.js
(0.297s)
</div>
<table class=\\"suite-table\\">
<tr class=\\"failed\\">
<table class="suite-table">
<tr class="failed">
<td>
✘ test should work
<span class=\\"result\\">failed in 0.004s</span>
<span class="result">failed in 0.004s</span>
<div/>
</td>
</tr>
Expand All @@ -233,12 +233,12 @@ exports[`html-report-creator should ignore null plainFailureMessages 1`] = `
`;

exports[`html-report-creator should not display pending tests 1`] = `
"<?xml version=\\"1.0\\"?>
"<?xml version="1.0"?>
<html>
<head>
<meta charset=\\"utf-8\\"/>
<meta charset="utf-8"/>
<title>Jest test results</title>
<style type=\\"text/css\\">
<style type="text/css">
html, body {
font-family: sans-serif;
font-size: 1rem;
Expand Down Expand Up @@ -279,7 +279,7 @@ exports[`html-report-creator should not display pending tests 1`] = `
}
</style>
</head>
<div class=\\"summary\\">
<div class="summary">
<div>
Test Suites: 0 passed,
0 failed,
Expand All @@ -293,21 +293,21 @@ exports[`html-report-creator should not display pending tests 1`] = `
1 total
</div>
</div>
<div class=\\"suite-info\\">
<div class="suite-info">
/path/to/__tests__/test.spec.js
(0.297s)
</div>
<table class=\\"suite-table\\"/>
<table class="suite-table"/>
</html>"
`;

exports[`html-report-creator should render correctly if there are test execution errors in a suite 1`] = `
"<?xml version=\\"1.0\\"?>
"<?xml version="1.0"?>
<html>
<head>
<meta charset=\\"utf-8\\"/>
<meta charset="utf-8"/>
<title>Jest test results</title>
<style type=\\"text/css\\">
<style type="text/css">
html, body {
font-family: sans-serif;
font-size: 1rem;
Expand Down Expand Up @@ -348,7 +348,7 @@ exports[`html-report-creator should render correctly if there are test execution
}
</style>
</head>
<div class=\\"summary\\">
<div class="summary">
<div>
Test Suites: 1 passed,
0 failed,
Expand All @@ -362,12 +362,12 @@ exports[`html-report-creator should render correctly if there are test execution
1 total
</div>
</div>
<div class=\\"suite-info\\">
<div class="suite-info">
/path/to/__tests__/test.spec.js
(0.297s)
</div>
<table class=\\"suite-table\\">
<tr class=\\"failed\\">
<table class="suite-table">
<tr class="failed">
<td>
<div>Test suite failed to run:</div>
<pre>error!
Expand All @@ -379,12 +379,12 @@ stacktrace for error</pre>
`;

exports[`html-report-creator should render failure message as a link if test is for an image snapshot 1`] = `
"<?xml version=\\"1.0\\"?>
"<?xml version="1.0"?>
<html>
<head>
<meta charset=\\"utf-8\\"/>
<meta charset="utf-8"/>
<title>Jest test results</title>
<style type=\\"text/css\\">
<style type="text/css">
html, body {
font-family: sans-serif;
font-size: 1rem;
Expand Down Expand Up @@ -425,7 +425,7 @@ exports[`html-report-creator should render failure message as a link if test is
}
</style>
</head>
<div class=\\"summary\\">
<div class="summary">
<div>
Test Suites: 0 passed,
1 failed,
Expand All @@ -439,17 +439,17 @@ exports[`html-report-creator should render failure message as a link if test is
1 total
</div>
</div>
<div class=\\"suite-info\\">
<div class="suite-info">
/path/to/__tests__/test.spec.js
(0.297s)
</div>
<table class=\\"suite-table\\">
<tr class=\\"failed\\">
<table class="suite-table">
<tr class="failed">
<td>
✘ test should work
<span class=\\"result\\">failed in 0.004s</span>
<span class="result">failed in 0.004s</span>
<div>
<a href=\\" /path/to/__image_snapshots__/__diff_output__/test-diff.png\\"/>
<a href=" /path/to/__image_snapshots__/__diff_output__/test-diff.png"/>
<pre>Image snapshot failed.
See diff for details: /path/to/__image_snapshots__/__diff_output__/test-diff.png</pre>
</div>
Expand Down
Loading

0 comments on commit 757cd68

Please sign in to comment.