Skip to content

Conversation

@denniwang
Copy link
Contributor

ℹ️ Issue

Closes

📝 Description

Write a short summary of what you added. Why is it important? Any member of C4C should be able to read this and understand your contribution -- not just your team members.

Briefly list the changes made to the code:

  1. Added support for this.
  2. And removed redunant use of that.
  3. Also this was included for reasons.

✔️ Verification

What steps did you take to verify your changes work? These should be clear enough for someone to be able to clone the branch and follow the steps themselves.

Provide screenshots of any new components, styling changes, or pages.

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!

@github-actions
Copy link
Contributor

Jest Tests Failed ❌ apps/backend/lambdas/projects

Node.js Version 🟢 20.x

Test Status 🧪 failure

Show Error Details

> lambda-local@1.0.0 test
> jest --coverage --maxWorkers=2 --json --outputFile=jest-results.json

FAIL test/crud.test.ts
  ✕ health test 🌞 (15 ms)
  ✕ get projects test 🌞 (1 ms)

  ● health test 🌞

    AggregateError:

    �[0m �[90m 16 |�[39m
     �[90m 17 |�[39m beforeEach(�[36masync�[39m () �[33m=>�[39m {
    �[31m�[1m>�[22m�[39m�[90m 18 |�[39m   �[36mconst�[39m client �[33m=�[39m �[36mawait�[39m pool�[33m.�[39mconnect()�[33m;�[39m
     �[90m    |�[39m                  �[31m�[1m^�[22m�[39m
     �[90m 19 |�[39m   �[36mtry�[39m {
     �[90m 20 |�[39m     �[36mawait�[39m client�[33m.�[39mquery(seedSql)�[33m;�[39m
     �[90m 21 |�[39m   } �[36mfinally�[39m {�[0m

      at node_modules/pg-pool/index.js:45:11
      at Object.<anonymous> (test/crud.test.ts:18:18)

  ● get projects test 🌞

    AggregateError:

    �[0m �[90m 16 |�[39m
     �[90m 17 |�[39m beforeEach(�[36masync�[39m () �[33m=>�[39m {
    �[31m�[1m>�[22m�[39m�[90m 18 |�[39m   �[36mconst�[39m client �[33m=�[39m �[36mawait�[39m pool�[33m.�[39mconnect()�[33m;�[39m
     �[90m    |�[39m                  �[31m�[1m^�[22m�[39m
     �[90m 19 |�[39m   �[36mtry�[39m {
     �[90m 20 |�[39m     �[36mawait�[39m client�[33m.�[39mquery(seedSql)�[33m;�[39m
     �[90m 21 |�[39m   } �[36mfinally�[39m {�[0m

      at node_modules/pg-pool/index.js:45:11
      at Object.<anonymous> (test/crud.test.ts:18:18)

Test Suites: 1 failed, 1 total
Tests:       2 failed, 2 total
Snapshots:   0 total
Time:        2.071 s
Ran all test suites.
Test results written to: jest-results.json

Pushed by: @denniwang, Action: pull_request

@github-actions
Copy link
Contributor

Jest Tests Failed ❌ apps/backend/lambdas/projects

Node.js Version 🟢 20.x

Test Status 🧪 failure

Show Error Details

> lambda-local@1.0.0 test
> jest

FAIL test/crud.test.ts
  ✕ health test 🌞 (15 ms)
  ✕ get projects test 🌞 (1 ms)

  ● health test 🌞

    AggregateError:

    �[0m �[90m 16 |�[39m
     �[90m 17 |�[39m beforeEach(�[36masync�[39m () �[33m=>�[39m {
    �[31m�[1m>�[22m�[39m�[90m 18 |�[39m   �[36mconst�[39m client �[33m=�[39m �[36mawait�[39m pool�[33m.�[39mconnect()�[33m;�[39m
     �[90m    |�[39m                  �[31m�[1m^�[22m�[39m
     �[90m 19 |�[39m   �[36mtry�[39m {
     �[90m 20 |�[39m     �[36mawait�[39m client�[33m.�[39mquery(seedSql)�[33m;�[39m
     �[90m 21 |�[39m   } �[36mfinally�[39m {�[0m

      at node_modules/pg-pool/index.js:45:11
      at Object.<anonymous> (test/crud.test.ts:18:18)

  ● get projects test 🌞

    AggregateError:

    �[0m �[90m 16 |�[39m
     �[90m 17 |�[39m beforeEach(�[36masync�[39m () �[33m=>�[39m {
    �[31m�[1m>�[22m�[39m�[90m 18 |�[39m   �[36mconst�[39m client �[33m=�[39m �[36mawait�[39m pool�[33m.�[39mconnect()�[33m;�[39m
     �[90m    |�[39m                  �[31m�[1m^�[22m�[39m
     �[90m 19 |�[39m   �[36mtry�[39m {
     �[90m 20 |�[39m     �[36mawait�[39m client�[33m.�[39mquery(seedSql)�[33m;�[39m
     �[90m 21 |�[39m   } �[36mfinally�[39m {�[0m

      at node_modules/pg-pool/index.js:45:11
      at Object.<anonymous> (test/crud.test.ts:18:18)

Test Suites: 1 failed, 1 total
Tests:       2 failed, 2 total
Snapshots:   0 total
Time:        1.997 s
Ran all test suites.

Pushed by: @denniwang, Action: pull_request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants