Skip to content

Releases: approvals/Approvals.NodeJS

Improvements to TypeScript interfaces

12 Jul 20:28
@mch mch
Compare
Choose a tag to compare

Have fixed all TypeScript errors, shouldn't have any impact on functionality.

Fixes for windows

28 Jun 19:26
Compare
Choose a tag to compare

should stop a build issue with windows devices

Fixed bug with config and Reporter Types

20 May 16:02
Compare
Choose a tag to compare
v7.1.1

- B fixed typing error

Support for VS Codium

07 May 17:44
Compare
Choose a tag to compare

Added a reporter for vs codium

Thanks to @stevendkwtz

Typescript

29 Apr 19:15
Compare
Choose a tag to compare

There should be no visible changes from this release ¯_(ツ)_/¯
But all of the source files have been upgraded to typescript.

Normally I would set this as a patch release, but I making it a major version as I am concerned about changes to have javascript and typescript handle exports.

I have had to use the following a bit

Imports

var a = require("a")

import {a} from "a"
or 
import * as a from "a"

Fix JestReporter importing full class instead of type

31 Oct 17:35
Compare
Choose a tag to compare

For the future, we have set "importsNotUsedAsValues" to "error" to prevent future recurrences.

This helps other packages that have this value set not error-out because they are using Approvals.

fix version number in npm package

31 Oct 16:40
Compare
Choose a tag to compare

Fixes #150
the 'v' in v6.2.3 caused trouble with npm

Minor bug with Angular + Jest

08 Sep 23:12
Compare
Choose a tag to compare

Added check when running JestApprovals in angular

v6.2.1: Fix some warnings about imports

10 Apr 21:07
Compare
Choose a tag to compare

This fixes the following warnings in v6.2.0

$ eslint ./src --fix && eslint ./tests --fix && tsc --noEmit --pretty && svelte-check
node_modules/approvals/lib/Core/Options.ts:2:1 - error TS1371: This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'.
2 import {Namer} from "../Namer";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/approvals/lib/Providers/Jest/JestApprovals.ts:3:1 - error TS6133: 'getJestNamer' is declared but its value is never read.
3 import {getJestNamer} from "./JestNamer";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 2 errors in 2 files.
Errors  Files
     1  node_modules/approvals/lib/Core/Options.ts:2
     1  node_modules/approvals/lib/Providers/Jest/JestApprovals.ts:3

Add JestReporter reporter for CI

04 Apr 17:03
Compare
Choose a tag to compare