From 74a5764772ef31acaf1d5c7af0a477323c991217 Mon Sep 17 00:00:00 2001 From: James Garbutt <43081j@users.noreply.github.com> Date: Mon, 5 Oct 2026 13:44:15 +0100 Subject: [PATCH] chore: update some README code --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9382e24f6..fb0bdb8d9 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,10 @@ Chai is an _assertion library_, similar to Node's built-in `assert`. It makes te You can also use it within the browser; install via npm and use the `index.js` file found within the download. For example: ```html - + ``` ## Usage @@ -79,9 +82,9 @@ import { should } from 'chai'; // Using Should style ### Register the chai testing style globally ```js -import 'chai/register-assert'; // Using Assert style -import 'chai/register-expect'; // Using Expect style -import 'chai/register-should'; // Using Should style +import 'chai/register-assert.js'; // Using Assert style +import 'chai/register-expect.js'; // Using Expect style +import 'chai/register-should.js'; // Using Should style ``` ### Import assertion styles as local variables @@ -133,7 +136,7 @@ Please make sure you follow our [Code Of Conduct](https://github.com/chaijs/chai Here are a few issues other contributors frequently ran into when opening pull requests: -- Please do not commit changes to the `chai.js` build. We do it once per release. +- Please do not commit changes to the `index.js` build. We do it once per release. - Before pushing your commits, please make sure you [rebase](https://github.com/chaijs/chai/blob/master/CONTRIBUTING.md#pull-requests) them. ### Contributors