test: reorganise npm unit tests (#876)
authored by James Garbutt and committed by GitHub 1 month ago b569b707 4124003f