npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@vtex-miss/jest-vtex-io

v0.3.0

Published

This package offers a set of utilities designed to streamline the testing process for your VTEX IO apps.

Downloads

358

Readme

Jest VTEX IO

This package offers a set of utilities designed to streamline the testing process for your VTEX IO apps.

Installation

yarn add --dev @vtex-miss/jest-vtex-io

Motivation

As someone working daily with VTEX IO projects, maintaining reliability is crucial. Even though the nature of VTEX IO may require using some outdated dependencies, it's essential to keep your project as stable as possible.

We were unable to update everyone due to platform limitations, but what was possible, we updated

This package aims to facilitate testing config in VTEX IO project

Why not use the vtex-test-tools library?

The vtex-test-tools library hasn't seen any updates since 2021. Depending on your VTEX IO project's configuration, installing the latest version might break it. Even if you opt for an older version of the library, the tool's main dependency (Jest v25) is outdated, limiting the use of features from Jest versions 27, which are compatible with VTEX IO.

Additionally, vtex-test-tools imposes restrictions on extending the configurations they export.

Features

Jest Configuration

Simplify your Jest configuration with easy-to-use presets.

Extend your Jest configuration adding the following to your jest.config.js|ts|mjs|cjs file:

React

import config from "@vtex-miss/jest-vtex-io/preset/react";

export default {
  ...config,
};

Node

import config from "@vtex-miss/jest-vtex-io/preset/node";

export default {
  ...config,
};

With these presets, you can avoid the tedious process of manually configuring your Jest setup. Keep your focus on writing tests and building reliable VTEX IO apps.