Christoph Fricke's Avatar

Christoph Fricke

@christoph-fricke.bsky.social

Consultant @holisticon.de | Web Enthusiast

19 Followers  |  87 Following  |  5 Posts  |  Joined: 06.02.2024  |  2.1544

Latest posts by christoph-fricke.bsky.social on Bluesky

Looks like an TS abstraction for defining OpenAPI schemas. Does it also includes a CLI for converting this to a standard OpenAPI JSON/YAML schema? Reminds me a bit of Typespec. typespec.io

13.01.2025 16:38 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 3    πŸ“Œ 1
Preview
AbortSignal: timeout() static method - Web APIs | MDN The AbortSignal.timeout() static method returns an AbortSignal that will automatically abort after a specified time.

I recently discovered `AbortSignal.timeout(3000)`. When combined with the fetch API, it is such a nice method for implementing request timeouts compared to racing two Promises. Easier to write and to understand.
developer.mozilla.org/en-US/docs/W...

30.11.2024 13:37 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The slowest parts are creating a new browser context + page and navigating the page for each test. I guess that is the price you pay for a full test isolation.

28.11.2024 23:09 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Is it really that bad? We test Remix apps exclusively with Playwright by spawning apps via PW fixtures and mock the network in the Node.js process with MSW. Each test operates on a fully isolated instance of the app. For us, 120 tests complete in around 25s. The gained confidence feels unreal.

28.11.2024 22:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
openapi-msw Tiny, type-safe wrapper around MSW for type inference from OpenAPI schemas.. Latest version: 0.7.1, last published: 2 months ago. Start using openapi-msw in your project by running `npm i openapi-msw`...

Recently, my npm package "openapi-msw" passed 10,000 weekly downloads. As this is my first package that has gained some traction, this is a big milestone for me. πŸ₯‚πŸΎ
www.npmjs.com/package/open...

24.11.2024 16:23 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@christoph-fricke is following 19 prominent accounts