From f8194e4b17b7f184e3a8a23c11487077a2c45030 Mon Sep 17 00:00:00 2001 From: ssube Date: Sat, 24 Jul 2021 14:21:18 -0500 Subject: [PATCH] rename to foam --- .npmignore | 3 +++ package.json | 2 +- src/index.ts | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..897af4a --- /dev/null +++ b/.npmignore @@ -0,0 +1,3 @@ +.nyc_output/ +node_modules/ +test/ diff --git a/package.json b/package.json index 3ff40b2..dfaee7a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "mocha-froth", + "name": "mocha-foam", "version": "0.1.0", "main": "out/src/index.js", "author": "ssube ", diff --git a/src/index.ts b/src/index.ts index 43907a2..7197113 100644 --- a/src/index.ts +++ b/src/index.ts @@ -113,7 +113,8 @@ export function formatPrefix(details: RunDetails<[T]>): string { } /** - * Guess whether the run threw an error. + * Guess whether the run threw an error. Looks for strings starting with `Error` or a typed error + * like `AssertionError`. * * @private */