Posts

Snowpack - Running Tests with @web/test-runner

Set up @web/test-runner

Snowpack recommends that @web/test-runner be used as the test runner of choice. Using this setup will allow you to conveniently run tests that would run in the browser after the Snowpack dev server has started.

First, install the dependencies found in the "devDependencies" in package.json with

npm install @esm-bundle/chai @snowpack/web-test-runner-plugin @web/test-runner
Categories: #shell #JavaScript
Tags: #NodeJs
Rust - Quick Picks #1

Ripgrep-all

Using ripgrep-all will enable you to search more than just within source code files, it lets you search inside content such as "PDFs, E-Books, Office documents, zip, tar.gz, etc." due to it leveraging ripgrep. This versatility brings a search tool that is close to what you expect from an operating system index file search, except now you can have a more targeted searching experience.

Categories: #rust