Skip to content

Commit

Permalink
Update Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed May 9, 2023
1 parent db8a109 commit 4e64830
Show file tree
Hide file tree
Showing 4 changed files with 1,489 additions and 1,107 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
"@manypkg/get-packages": "^1.1.3",
"@octokit/plugin-throttling": "5.1.1",
"@types/fs-extra": "^8.0.0",
"@types/jest": "^24.0.18",
"@types/jest": "^29.5.1",
"@types/node": "^12.7.1",
"@types/semver": "^6.0.2",
"babel-jest": "^24.9.0",
"babel-jest": "^29.5.0",
"fs-extra": "^8.1.0",
"husky": "^3.0.3",
"jest": "^24.9.0",
"jest": "^29.5.0",
"mdast-util-to-string": "^1.0.6",
"remark-parse": "^7.0.1",
"remark-stringify": "^7.0.3",
Expand Down
20 changes: 10 additions & 10 deletions src/__snapshots__/run.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`version creates simple PR 1`] = `
Array [
Object {
[
{
"base": "some-branch",
"body": "This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to some-branch, this PR will be updated.
Expand Down Expand Up @@ -34,8 +34,8 @@ Array [
`;

exports[`version does not include any release information if a message with simplified release info exceeds size limit 1`] = `
Array [
Object {
[
{
"base": "some-branch",
"body": "This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to some-branch, this PR will be updated.
Expand All @@ -52,8 +52,8 @@ Array [
`;

exports[`version does not include changelog entries if full message exceeds size limit 1`] = `
Array [
Object {
[
{
"base": "some-branch",
"body": "This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to some-branch, this PR will be updated.
Expand All @@ -74,8 +74,8 @@ Array [
`;

exports[`version doesn't include ignored package that got a dependency update in the PR body 1`] = `
Array [
Object {
[
{
"base": "some-branch",
"body": "This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to some-branch, this PR will be updated.
Expand All @@ -96,8 +96,8 @@ Array [
`;

exports[`version only includes bumped packages in the PR body 1`] = `
Array [
Object {
[
{
"base": "some-branch",
"body": "This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to some-branch, this PR will be updated.
Expand Down
8 changes: 4 additions & 4 deletions src/__snapshots__/utils.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`it sorts the things right 1`] = `
Array [
Object {
[
{
"highestLevel": 3,
"name": "c",
"private": false,
},
Object {
{
"highestLevel": 1,
"name": "b",
"private": false,
},
Object {
{
"highestLevel": 3,
"name": "a",
"private": true,
Expand Down

0 comments on commit 4e64830

Please sign in to comment.