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

Errors: Check failure on line 10 in src/components/common/__tests__/badge.test.jsx, etc #305

Closed
BaseMax opened this issue Jan 9, 2025 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@BaseMax
Copy link
Member

BaseMax commented Jan 9, 2025

https://github.com/SalamLang/Salam-Website/pull/304/files

 Check failure on line 10 in src/components/common/__tests__/badge.test.jsx


GitHub Actions
/ Run bun test
error: expect(received).toMatchSnapshot(expected)

Expected: 
{
  "$$typeof": Symbol(react.test.json),
  "children": [
",
  ],
  "props": {
    "className": "span bg-light-primary text-primary py-1 sm:py-2 px-2 sm:px-4 font-Estedad-Medium text-[10px] sm:text-xs rounded-full primary",
  },
  "type": "span",
}

Received: null

      at <anonymous> (/home/runner/work/Salam-Website/Salam-Website/src/components/common/__tests__/badge.test.jsx:10:16)

and

 Check failure on line 16 in src/components/common/__tests__/badge.test.jsx


GitHub Actions
/ Run bun test
error: expect(received).toMatchSnapshot(expected)

Expected: 
{
  "$$typeof": Symbol(react.test.json),
  "children": [
",
  ],
  "props": {
    "className": "span bg-light-primary text-primary py-1 sm:py-2 px-2 sm:px-4 font-Estedad-Medium text-[10px] sm:text-xs rounded-full primary medium full",
  },
  "type": "span",
}

Received: null

      at <anonymous> (/home/runner/work/Salam-Website/Salam-Website/src/components/common/__tests__/badge.test.jsx:16:16)

and

 Check failure on line 22 in src/components/common/__tests__/badge.test.jsx


GitHub Actions
/ Run bun test
error: expect(received).toMatchSnapshot(expected)

Expected: 
{
  "$$typeof": Symbol(react.test.json),
  "children": [
",
  ],
  "props": {
    "className": "span bg-light-success text-success py-1 sm:py-2 px-2 sm:px-4 font-Estedad-Medium text-[10px] sm:text-xs rounded-full",
  },
  "type": "span",
}

Received: null

      at <anonymous> (/home/runner/work/Salam-Website/Salam-Website/src/components/common/__tests__/badge.test.jsx:22:16)

and

 Check failure on line 28 in src/components/common/__tests__/badge.test.jsx


GitHub Actions
/ Run bun test
error: expect(received).toMatchSnapshot(expected)

Expected: 
{
  "$$typeof": Symbol(react.test.json),
  "children": [
",
  ],
  "props": {
    "className": "span bg-light-warning text-warning py-1 sm:py-2 px-2 sm:px-4 font-Estedad-Medium text-[10px] sm:text-xs rounded-full",
  },
  "type": "span",
}

Received: null

      at <anonymous> (/home/runner/work/Salam-Website/Salam-Website/src/components/common/__tests__/badge.test.jsx:28:16)

and

 Check failure on line 34 in src/components/common/__tests__/badge.test.jsx


GitHub Actions
/ Run bun test
error: expect(received).toMatchSnapshot(expected)

Expected: 
{
  "$$typeof": Symbol(react.test.json),
  "children": [
",
  ],
  "props": {
    "className": "span bg-light-danger text-danger py-1 sm:py-2 px-2 sm:px-4 font-Estedad-Medium text-[10px] sm:text-xs rounded-full",
  },
  "type": "span",
}

Received: null

      at <anonymous> (/home/runner/work/Salam-Website/Salam-Website/src/components/common/__tests__/badge.test.jsx:34:16)
@BaseMax BaseMax added enhancement New feature or request good first issue Good for newcomers labels Jan 9, 2025
@jbampton
Copy link
Member

jbampton commented Jan 9, 2025

#303

@jbampton jbampton closed this as completed Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants