Udemy - Vitest 50 Drills - TypeScript Unit Testing from the Ground Up

  • CategoryOther
  • TypeTutorials
  • LanguageEnglish
  • Total size1.7 GB
  • Uploaded Byfreecoursewb
  • Downloads1
  • Last checkedAug. 13th '26
  • Date uploadedAug. 13th '26
  • Seeders 0
  • Leechers0

Infohash : 4E6E91E1C4DC03D9BB9D7F33DDB9503C3A0588EC

Vitest 50 Drills: TypeScript Unit Testing from the Ground Up

https://WebToolTip.com

Published 8/2026
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz, 2 Ch
Language: English | Duration: 7h 1m | Size: 1.7 GB

Don't just memorize Jest-style APIs. Master Vitest in 50 drills: mocks, fake timers, fixtures, snapshots, types, CI.

What you'll learn
Understand Vitest's execution model and its link to Vite, and explain why TypeScript/ESM tests run zero-config, wielding `globals` and `environment` correctly.
Design assertions that convey intent: three equality levels `toBe`/`toEqual`/`toStrictEqual`, asymmetric matchers, and custom matchers via `expect.extend`.
Compose fixtures with `test.extend` into a dependency graph, and design test preconditions that balance speed and isolation using `auto` and `scope:"worker"`.
Choose among `vi.fn`/`vi.spyOn`/`vi.mock`/`vi.stubGlobal`/`vi.stubEnv` per target, and correctly handle the three-tier clear/reset/restore and ESM hoisting.
Test async deterministically without waiting real time: `resolves`/`rejects`, `*Async` fake timers, `vi.waitFor`, `test.concurrent`, and `retry`/`repeats`.
Verify temporary-file I/O, in-memory SQLite, and a Hono+zod HTTP API with "real but fast" integration tests, and swap dependencies via dependency injection.
Put Vitest-only weapons to work in practice: snapshots, in-source tests, type tests with `expectTypeOf`, and benchmarks with `bench`.
Configure a coverage-threshold gate and unit/integration separation via `projects`, and build a locally reproducible mock CI to operationalize your tests.

Requirements
Able to read and write basic JavaScript/TypeScript (variables, functions, classes, `import`/`export`, `async`/`await`). No framework knowledge is needed.
A PC with an internet connection and a modern browser (Chrome recommended) is all you need. We use codesandbox, so there is no Node.js install or setup at all.
No testing experience required. Even if you've never written a single test, the course is built so you can start from the very first test in Chapter 0.

Files:

[ WebToolTip.com ] Udemy - Vitest 50 Drills - TypeScript Unit Testing from the Ground Up
  • Get Bonus Downloads Here.url (0.2 KB)
  • ~Get Your Files Here ! 1 - Introduction
    • 1 - Course Overview.mp4 (37.3 MB)
    • 2 - How the Course Is Conducted.mp4 (58.5 MB)
    • 3 - How to Use CodeSandbox.html (5.6 KB)
    • 4 - Link to codesandbox.html (5.5 KB)
    10 - Snapshots
    • 85 - Q41 Intro to snapshots — pin output without writing expected values.mp4 (16.2 MB)
    • 86 - 【Review】Q41 Intro to snapshots — update workflow and when to use.mp4 (12.7 MB)
    • 87 - Q42 Inline vs file — choose the storage place by purpose.mp4 (16.3 MB)
    • 88 - 【Review】Q42 Inline vs file — confirming why await is needed.mp4 (15.6 MB)
    • 89 - Q43 Custom serializers — erase the noise of ever-changing values.mp4 (17.2 MB)
    • 90 - 【Review】Q43 Custom serializers — snapshots that don't break.mp4 (13.7 MB)
    11 - Vitest-only weapons
    • 91 - Q44 In-source tests — write tests in the implementation file.mp4 (17.3 MB)
    • 92 - 【Review】Q44 In-source tests — how they vanish in the production build.mp4 (12.5 MB)
    • 93 - Q45 Type tests — verify at the type level, not at runtime.mp4 (17.6 MB)
    • 94 - 【Review】Q45 Type tests — how to run them and config gotchas.mp4 (12.7 MB)
    • 95 - Q46 Benchmarks — compare two impls' speed in numbers.mp4 (18.6 MB)
    • 96 - 【Review】Q46 Benchmarks — a recap of how to read the results.mp4 (13.9 MB)
    • 97 - Q47 Browser mode and DOM — choosing between two approaches.mp4 (15.8 MB)
    • 98 - 【Review】Q47 Browser mode and DOM — sorting out the selection criteria.mp4 (12.2 MB)
    12 - Quality gates and operations
    • 100 - 【Review】Q48 Coverage-threshold gate — chasing the number isn't the goal.mp4 (14.1 MB)
    • 101 - Q49 Separating unit and integration — split projects and run.mp4 (15.1 MB)
    • 102 - 【Review】Q49 Separating unit and integration — bringing it to CI ops.mp4 (12.1 MB)
    • 103 - Q50 Capstone — implement with TDD, pass a mock CI in one command.mp4 (19.7 MB)
    • 104 - 【Review】Q50 Capstone — a full summary of what you learned.mp4 (18.7 MB)
    • 99 - Q48 Coverage-threshold gate — fail automatically when coverage drops.mp4 (14.9 MB)
    2 - Vitest's worldview and your first test
    • 5 - Q01 Your first test — why TypeScript runs with no config.mp4 (22.3 MB)
    • 6 - 【Review】Q01 Your first test — reading the sample answer and results.mp4 (18.1 MB)
    • 7 - Q02 Execution model and globals — deciding the test's world.mp4 (21.1 MB)
    • 8 - 【Review】Q02 Execution model and globals — choosing an environment.mp4 (17.4 MB)
    3 - Understanding expect and matchers deeply
    • 10 - 【Review】Q03 Three levels of equality — how to decide which to pick.mp4 (18.7 MB)
    • 11 - Q04 Target-specific matchers — write meaning, not booleans.mp4 (23.7 MB)
    • 12 - 【Review】Q04 Target-specific matchers — comparing failure messages.mp4 (15.1 MB)
    • 13 - Q05 Asymmetric matchers — verify unpredictable values by type part.mp4 (23.2 MB)
    • 14 - 【Review】Q05 Asymmetric matchers — writing tests that won't turn brittle.mp4 (16.4 MB)
    • 15 - Q06 Every form of exception check — sync and async errors.mp4 (18.3 MB)
    • 16 - 【Review】Q06 Every form of exception check — the two required rules.mp4 (15.7 MB)
    • 17 - Q07 Custom matchers — write your own assertion.mp4 (19.8 MB)
    • 18 - 【Review】Q07 Custom matchers — type augmentation and reuse points.mp4 (15.4 MB)
    • 19 - Q08 Soft assertions — report failures together, guarantee count.mp4 (19.4 MB)
    • 20 - 【Review】Q08 Soft assertions — preventing slip-through accidents.mp4 (15.9 MB)
    • 9 - Q03 Three levels of equality — toBe vs toEqual vs toStrictEqual.mp4 (12.8 MB)
    4 - Structuring and data-driven tests
    • 21 - Q09 describe tree structure — control tests with only, skip, todo.mp4 (22.7 MB)
    • 22 - 【Review】Q09 describe tree structure — tips for using todo well.mp4 (15.6 MB)
    • 23 - Q10 Data-driven with each — verify many cases at once.mp4 (22.2 MB)
    • 24 - 【Review】Q10 Data-driven with each — naming tests for readability.mp4 (17.4 MB)
    • 25 - Q11 Cartesian with describe — run combinations as a matrix.mp4 (20.8 MB)
    • 26 - 【Review】Q11 Cartesian with describe — how to think about nesting.mp4 (15.6 MB)
    • 27 - Q12 for and TestContext — the new form that takes local expect.mp4 (20.7 MB)
    • 28 - 【Review】Q12 for and TestContext — the difference from each.mp4 (14.8 MB)
    5 - Lifecycle and fixtures
    • 29 - Q13 Hook execution order — when and how often All and Each run.mp4 (21.8 MB)
    • 30 - 【Review】Q13 Hook execution order — the speed vs isolation trade-off.mp4 (9.4 MB)
    • 31 - Q14 Fixtures with extend — inject values only into tests that need.mp4 (17.9 MB)
    • 32 - 【Review】Q14 Fixtures with extend — the line between setup and teardown.mp4 (15.3 MB)
    • 33 - Q15 Composing fixtures — stack preconditions in a dependency graph.mp4 (20.8 MB)
    • 34 - 【Review】Q15 Composing fixtures — designing small pieces you layer up.mp4 (14.5 MB)
    • 35 - Q16 Auto fixtures and scope — share heavy init across a worker.mp4 (20.3 MB)
    • 36 - 【Review】Q16 Auto fixtures and scope — a recap of the options.mp4 (17.8 MB)
    • 37 - Q17 setupFiles and globalSetup — per-run vs one-time preparation.mp4 (19.4 MB)
    • 38 - 【Review】Q17 setupFiles and globalSetup — the difference in timing.mp4 (13.6 MB)
    6 - A system for mocks
    • 39 - Q18 Spy basics — verify if called, with what args, how many times.mp4 (19.6 MB)
    • 40 - 【Review】Q18 Spy basics — reading the raw call-history data.mp4 (15.0 MB)
    • 41 - Q19 clear, reset and restore — the three-tier mock reset.mp4 (27.1 MB)
    • 42 - 【Review】Q19 clear, reset and restore — sorting out the essential difference.mp4 (10.4 MB)
    • 43 - Q20 Watching existing methods — observe while keeping the impl.mp4 (19.9 MB)
    • 44 - 【Review】Q20 Watching existing methods — spy vs replacement boundary.mp4 (15.7 MB)
    • 45 - Q21 Module mocks and hoisting — through to partial mocks.mp4 (21.5 MB)
    • 46 - 【Review】Q21 Module mocks and hoisting — why it sometimes doesn't work.mp4 (16.8 MB)
    • 47 - Q22 Replacing global APIs — try fetch logic with no network.mp4 (16.2 MB)
    • 48 - 【Review】Q22 Replacing global APIs — choosing the tool per target.mp4 (13.5 MB)
    • 49 - Q23 Stubbing env vars — test behavior that changes by config.mp4 (16.7 MB)
    • 50 - 【Review】Q23 Stubbing env vars — confirming the auto-restore mechanism.mp4 (15.1 MB)
    • 51 - Q24 Fake timers — advance time to verify debounce.mp4 (19.3 MB)
    • 52 - 【Review】Q24 Fake timers — tests that don't wait real time[.mp4 (11.3 MB)
    • 53 - Q25 Side effects — seed exceptions and sequential responses.mp4 (

Code:

  • udp://coeus.torrentonline.cc:42069/announce
  • https://edge-team.cc/announce
  • https://tracker.madtia.cc/announce
  • udp://tracker.1h.is:1337/announce
  • udp://tracker.t-1.org:6969/announce
  • udp://open.stealth.si:80/announce
  • udp://whybother.torrentonline.cc:42069/announce
  • udp://obey.torrentonline.cc:42069/announce
  • udp://archive.torrentonline.cc:42069/announce
  • https://tracker.7471.top:443/announce
  • https://tracker.pmman.tech:443/announce
  • https://torrents.tmtime.dev:443/announce
  • http://tracker.moeblog.cn:443/announce
  • http://tracker.lilithraws.org:443/announce
  • http://tr.highstar.shop:80/announce