tag: vitest

  • Storage Fun with Forms Original vs Rebuilt: A Comparison

    Storage Fun with Forms Original vs Rebuilt: A Comparison

    Maria D. Campbell

    In this post, I compare the original Storage Fun with forms with the rebuilt one created with the help of Claude AI.

    #macOS, #coverage, #istanbul, #jasmine standalone, #javascript, #tests, #unit testing, #vanilla template, #vite, #vite config, #vitest

  • Storage Fun with Forms Rebuilt: A Modern Pass with Claude Table of Contents

    Storage Fun with Forms Rebuilt: A Modern Pass with Claude Table of Contents

    Maria D. Campbell

    A table of contents of all posts in the Storage Fun with Forms rebuild series, covering Vite setup, Vitest testing, modularization, and a side-by-side comparison with the original build.

    #macOS, #coverage, #istanbul, #jasmine standalone, #javascript, #rolldown, #series, #tests, #vanilla template, #vite, #vite config, #vitest, #unit testing

  • Storage Fun with Forms Rebuild: Testing the Code

    Storage Fun with Forms Rebuild: Testing the Code

    Maria D. Campbell

    Learn how to test your JavaScript code with Vitest and how to add code coverage to your vanilla JavaScript project using Istanbul and what it means.

    #macOS, #coverage, #istanbul, #javascript, #series, #tests, #unit testing, #vanilla template, #vite, #vitest

  • Storage Fun with Forms Rebuild: Working through the Code

    Storage Fun with Forms Rebuild: Working through the Code

    Maria D. Campbell

    In this post, I set up the Storage Fun with Forms app to work with Vitest. But I come to realize that the code structure in main.js is not suitable for complete test coverage of the Storage Fun with Forms rebuild. I also realized that Jasmine tests did not translate in Vitest.

    #macOS, #tests, #vanilla template, #javascript, #series, #vite, #vitest