graphql-yoga icon indicating copy to clipboard operation
graphql-yoga copied to clipboard

Skip jest leak detection with noleak tests

Open enisdenjo opened this issue 1 year ago • 4 comments

All integration test suites which should skip leak detection have .noleak. appended to its filename.

  • mytest.spec.ts leak detection enabled
  • mytest.spec.noleak.ts leak detection disabled

This breaks passing in jest arguments though, yarn test:integration koa.spec will not only test koa.spec...

enisdenjo avatar Oct 03 '22 17:10 enisdenjo

⚠️ No Changeset found

Latest commit: 6db3cae63c0d738c45b4f0affbaf44217bf8f049

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Oct 03 '22 17:10 changeset-bot[bot]

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-yoga/apollo-link 1.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 1.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/common 3.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/redis-event-target 1.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/typed-event-target 1.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 3.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
graphql-yoga 3.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/node 3.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 1.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 1.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 1.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 1.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 3.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎
@graphql-yoga/subscription 3.0.0-alpha-20221003174225-90982482 npm ↗︎ unpkg ↗︎

github-actions[bot] avatar Oct 03 '22 17:10 github-actions[bot]

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.........................: 100.00% ✓ 158804      ✗ 0    
     data_received..................: 24 MB   789 kB/s
     data_sent......................: 9.1 MB  304 kB/s
     http_req_blocked...............: avg=1.31µs   min=800ns   med=1.1µs   max=414.8µs p(90)=1.6µs    p(95)=2.1µs   
     http_req_connecting............: avg=1ns      min=0s      med=0s      max=135.4µs p(90)=0s       p(95)=0s      
   ✓ http_req_duration..............: avg=294.04µs min=196.9µs med=265.2µs max=18.44ms p(90)=331.6µs  p(95)=357.5µs 
       { expected_response:true }...: avg=294.04µs min=196.9µs med=265.2µs max=18.44ms p(90)=331.6µs  p(95)=357.5µs 
     http_req_failed................: 0.00%   ✓ 0           ✗ 79402
     http_req_receiving.............: avg=21.05µs  min=11.5µs  med=19µs    max=12.64ms p(90)=25.5µs   p(95)=29.5µs  
     http_req_sending...............: avg=9.38µs   min=4.3µs   med=8.1µs   max=4.12ms  p(90)=11.8µs   p(95)=12.7µs  
     http_req_tls_handshaking.......: avg=0s       min=0s      med=0s      max=0s      p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=263.61µs min=175.5µs med=236.7µs max=18.14ms p(90)=296.7µs  p(95)=320.9µs 
     http_reqs......................: 79402   2646.618361/s
     iteration_duration.............: avg=370.47µs min=254.2µs med=339.6µs max=18.84ms p(90)=417.41µs p(95)=450.11µs
     iterations.....................: 79402   2646.618361/s
     vus............................: 0       min=0         max=1  
     vus_max........................: 1       min=1         max=1  

github-actions[bot] avatar Oct 03 '22 17:10 github-actions[bot]

🚀 Website Preview

The latest changes to the website are available as preview in: https://94dc1531.graphql-yoga.pages.dev

github-actions[bot] avatar Oct 03 '22 17:10 github-actions[bot]

#1888

enisdenjo avatar Nov 01 '22 19:11 enisdenjo