Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
updated jest snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
sdadn committed May 6, 2024
1 parent 7bcf77a commit 3cb184d
Show file tree
Hide file tree
Showing 16 changed files with 126 additions and 126 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`config getConfigForFile returns an extended config with 3 transitive extends 1`] = `
Object {
"rules": Object {
{
"rules": {
"a": 1,
"b": 2,
"c": 3,
Expand All @@ -12,8 +12,8 @@ Object {
`;

exports[`config getConfigForFile returns an extended config with multiple extenions 1`] = `
Object {
"rules": Object {
{
"rules": {
"a": 1,
"b": 2,
"c": 3,
Expand All @@ -26,8 +26,8 @@ Object {
`;

exports[`config getConfigForFile returns an extended config with multiple extenions and no override 1`] = `
Object {
"rules": Object {
{
"rules": {
"a": 1,
"b": 2,
"c": 3,
Expand All @@ -40,8 +40,8 @@ Object {
`;

exports[`config getConfigForFile returns an extended config with no transitive extend 1`] = `
Object {
"rules": Object {
{
"rules": {
"a": 1,
"b": 2,
"c": 3,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`getPathsForPackages returns a list of paths for packages that are not ignored for a monorepo 1`] = `
Array [
[
"/Users/x/ecosystem/terra-toolkit/package.json",
"/Users/x/ecosystem/terra-toolkit/packages/browserslist-config-terra/package.json",
"/Users/x/ecosystem/terra-toolkit/packages/duplicate-package-checker-webpack-plugin/package.json",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`require-dependencies-declared-at-appropriate-level when projectType is application fails as a warning when there unnecessary dependencies/peerDependencies 1`] = `
Array [
Object {
[
{
"lintId": "require-dependencies-declared-at-appropriate-level",
"lintMessage": "This project has unnecessary dependencies that violates the require-dependencies-declared-at-appropriate-level rule:
@cerner/webpack-config-terra@^2.0.0 does not satisfy requirement for require-dependencies-declared-at-appropriate-level rule.",
"projectType": "application",
"severity": Object {
"severity": {
"severityType": "warn",
},
},
Object {
{
"lintId": "require-dependencies-declared-at-appropriate-level",
"lintMessage": "This project has unnecessary peerDependencies that violates the require-dependencies-declared-at-appropriate-level rule:
jest@^26.6.2 does not satisfy requirement for require-dependencies-declared-at-appropriate-level rule.",
"projectType": "application",
"severity": Object {
"severity": {
"severityType": "warn",
},
},
]
`;

exports[`require-dependencies-declared-at-appropriate-level when projectType is application succeeds when there are no unnecessary dependencies/peerDependencies 1`] = `Array []`;
exports[`require-dependencies-declared-at-appropriate-level when projectType is application succeeds when there are no unnecessary dependencies/peerDependencies 1`] = `[]`;

exports[`require-dependencies-declared-at-appropriate-level when projectType is application succeeds when unnecessary dependencies/peerDependencies are passed in the allowList 1`] = `Array []`;
exports[`require-dependencies-declared-at-appropriate-level when projectType is application succeeds when unnecessary dependencies/peerDependencies are passed in the allowList 1`] = `[]`;

exports[`require-dependencies-declared-at-appropriate-level when projectType is devModule succeeds when there no unnecessary dependencies/peerDependencies 1`] = `Array []`;
exports[`require-dependencies-declared-at-appropriate-level when projectType is devModule succeeds when there no unnecessary dependencies/peerDependencies 1`] = `[]`;

exports[`require-dependencies-declared-at-appropriate-level when projectType is devModule succeeds when there unnecessary dependencies/peerDependencies 1`] = `Array []`;
exports[`require-dependencies-declared-at-appropriate-level when projectType is devModule succeeds when there unnecessary dependencies/peerDependencies 1`] = `[]`;

exports[`require-dependencies-declared-at-appropriate-level when projectType is module fails as a warning when there unnecessary dependencies/peerDependencies 1`] = `
Array [
Object {
[
{
"lintId": "require-dependencies-declared-at-appropriate-level",
"lintMessage": "This project has unnecessary peerDependencies that violates the require-dependencies-declared-at-appropriate-level rule:
jest@^26.6.2 does not satisfy requirement for require-dependencies-declared-at-appropriate-level rule.",
"projectType": "module",
"severity": Object {
"severity": {
"severityType": "warn",
},
},
]
`;

exports[`require-dependencies-declared-at-appropriate-level when projectType is module succeeds when there are no unnecessary dependencies/peerDependencies 1`] = `Array []`;
exports[`require-dependencies-declared-at-appropriate-level when projectType is module succeeds when there are no unnecessary dependencies/peerDependencies 1`] = `[]`;
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ exports[`require-no-hard-coded-dependency-versions when projectType is applicati
exports[`require-no-hard-coded-dependency-versions when projectType is application succeeds when there are no hardcoded dependencies 1`] = `undefined`;

exports[`require-no-hard-coded-dependency-versions when projectType is devModule fails when there are hardcoded dependencies 1`] = `
Object {
{
"lintId": "require-no-hard-coded-dependency-versions",
"lintMessage": "The dependencies for this project have hard-coded versions that violates the require-no-hard-coded-dependency-versions rule:
a@1.0.0 does not satisfy requirement for the require-no-hard-coded-dependency-versions rule.",
"projectType": "devModule",
"severity": Object {
"severity": {
"severityType": "error",
},
}
Expand All @@ -21,12 +21,12 @@ Object {
exports[`require-no-hard-coded-dependency-versions when projectType is devModule succeeds when there are no hardcoded dependencies 1`] = `undefined`;

exports[`require-no-hard-coded-dependency-versions when projectType is module fails when there are hardcoded dependencies 1`] = `
Object {
{
"lintId": "require-no-hard-coded-dependency-versions",
"lintMessage": "The dependencies for this project have hard-coded versions that violates the require-no-hard-coded-dependency-versions rule:
a@1.0.0 does not satisfy requirement for the require-no-hard-coded-dependency-versions rule.",
"projectType": "module",
"severity": Object {
"severity": {
"severityType": "error",
},
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`require-no-terra-base-peer-dependency-versions fails as a warning when versions do not meet the required version 1`] = `
Object {
{
"lintId": "require-no-terra-base-peer-dependency-versions",
"lintMessage": "The dependencies for this project do not have the minimum versions required for no terra base peer dependencies:
terra-action-footer@^1.0.0 does not satisfy range requirement for no terra base peer dependencies: terra-action-footer@>2.5.0",
"projectType": "module",
"severity": Object {
"severity": {
"severityType": "warn",
},
}
`;

exports[`require-no-terra-base-peer-dependency-versions fails when versions do not meet the required version 1`] = `
Object {
{
"lintId": "require-no-terra-base-peer-dependency-versions",
"lintMessage": "The dependencies for this project do not have the minimum versions required for no terra base peer dependencies:
terra-action-footer@2.5.0 does not satisfy range requirement for no terra base peer dependencies: terra-action-footer@>2.5.0
Expand Down Expand Up @@ -90,7 +90,7 @@ Object {
terra-toggle@3.5.0 does not satisfy range requirement for no terra base peer dependencies: terra-toggle@>3.5.0
terra-visually-hidden-text@2.4.0 does not satisfy range requirement for no terra base peer dependencies: terra-visually-hidden-text@>2.4.0",
"projectType": "devModule",
"severity": Object {
"severity": {
"severityType": "error",
},
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`require-theme-context-versions fails as a warning when versions do not meet the required version 1`] = `
Object {
{
"lintId": "require-theme-context-versions",
"lintMessage": "The dependencies for this project do not have the minimum versions required for theming context:
terra-action-footer@^1.0.0 does not satisfy range requirement for theming context: terra-action-footer@>=2.42.0",
"projectType": "module",
"severity": Object {
"severity": {
"severityType": "warning",
},
}
`;

exports[`require-theme-context-versions fails when versions do not meet the required version 1`] = `
Object {
{
"lintId": "require-theme-context-versions",
"lintMessage": "The dependencies for this project do not have the minimum versions required for theming context:
@cerner/terra-docs@<1.0.0 does not satisfy range requirement for theming context: @cerner/terra-docs@>=1.0.0
Expand Down Expand Up @@ -89,7 +89,7 @@ Object {
terra-time-input@<4.29.0 does not satisfy range requirement for theming context: terra-time-input@>=4.29.0
terra-toolbar@<1.8.0 does not satisfy range requirement for theming context: terra-toolbar@>=1.8.0",
"projectType": "module",
"severity": Object {
"severity": {
"severityType": "error",
},
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`custom-property-name does error with a mismatched name 1`] = `
Array [
Object {
[
{
"column": 9,
"endColumn": 47,
"endLine": 1,
Expand All @@ -15,8 +15,8 @@ Array [
`;

exports[`custom-property-name does error with a mismatched name with hyphen 1`] = `
Array [
Object {
[
{
"column": 9,
"endColumn": 49,
"endLine": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`custom-property-namespace does error with no custom namespace 1`] = `
Array [
Object {
[
{
"column": 9,
"endColumn": 33,
"endLine": 1,
Expand All @@ -15,8 +15,8 @@ Array [
`;

exports[`custom-property-namespace does error with no default namespace 1`] = `
Array [
Object {
[
{
"column": 9,
"endColumn": 34,
"endLine": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`custom-property-no-duplicate-declaration does error with nested duplicate custom properties 1`] = `
Array [
Object {
[
{
"column": 11,
"endColumn": 42,
"endLine": 1,
Expand All @@ -15,8 +15,8 @@ Array [
`;

exports[`custom-property-no-duplicate-declaration does error with reversed sibling duplicate custom properties 1`] = `
Array [
Object {
[
{
"column": 11,
"endColumn": 42,
"endLine": 1,
Expand All @@ -29,8 +29,8 @@ Array [
`;

exports[`custom-property-no-duplicate-declaration does error with sibling duplicate custom properties 1`] = `
Array [
Object {
[
{
"column": 49,
"endColumn": 80,
"endLine": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`custom-property-pattern does error with custom property with underscores 1`] = `
Array [
Object {
[
{
"column": 9,
"endColumn": 44,
"endLine": 1,
Expand All @@ -15,8 +15,8 @@ Array [
`;

exports[`custom-property-pattern does error with custom property with uppercase characters 1`] = `
Array [
Object {
[
{
"column": 9,
"endColumn": 33,
"endLine": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`custom-property-pseudo-selectors does error with a custom properties that declares pseudo selectors in the wrong order 1`] = `
Array [
Object {
[
{
"column": 27,
"endColumn": 63,
"endLine": 1,
Expand All @@ -15,8 +15,8 @@ Array [
`;

exports[`custom-property-pseudo-selectors does error with a custom properties that does not include the ancestor pseudo selectors 1`] = `
Array [
Object {
[
{
"column": 15,
"endColumn": 39,
"endLine": 1,
Expand All @@ -29,8 +29,8 @@ Array [
`;

exports[`custom-property-pseudo-selectors does error with a custom properties that does not include the pseudo selector 1`] = `
Array [
Object {
[
{
"column": 15,
"endColumn": 39,
"endLine": 1,
Expand Down
Loading

0 comments on commit 3cb184d

Please sign in to comment.