Catalog npm
Back to packageRELEASE DETAILS

0.6.0

npm

3h-test

A simple test lib.

3hassertexpecttest
Published4 Jul 2021
Direct dependencies8
Transitive dependenciesNot calculated

README

Current package documentation

3h-test

A simple test lib.

Example

const T = require('3h-test');

T.test({ // default context options
    timeout: 1000,
}, { // test cases

    strictEqual(context) { // test case 0
        context.assertStrictEqual(1 + 2, 3);
    },

    promise(context) { // test case 1
        context.expectResolved(
            somePromise,
            'label',
            data => {
                // extra check on the data...
            }
        );
    },

});

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 8

Native requirements
8 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@babel/core
Environment
{
  "local_name": "@babel/core",
  "alias": false,
  "peer_metadata": null
}
^7.10.0development
@babel/preset-env
Environment
{
  "local_name": "@babel/preset-env",
  "alias": false,
  "peer_metadata": null
}
^7.10.0development
@rollup/plugin-babel
Environment
{
  "local_name": "@rollup/plugin-babel",
  "alias": false,
  "peer_metadata": null
}
^5.2.0development
@rollup/plugin-node-resolve
Environment
{
  "local_name": "@rollup/plugin-node-resolve",
  "alias": false,
  "peer_metadata": null
}
^13.0.0development
dts2md
Environment
{
  "local_name": "dts2md",
  "alias": false,
  "peer_metadata": null
}
^0.4.0development
rollup
Environment
{
  "local_name": "rollup",
  "alias": false,
  "peer_metadata": null
}
^2.26.0development
terser
Environment
{
  "local_name": "terser",
  "alias": false,
  "peer_metadata": null
}
^5.2.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^4.0.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-dChImo+/as5t2R8XghT4SZO3m0kjz3FCoartINvF9rDMi9vm31NPXIMrgIuwmHVfrlUp/VTxRiAiFNah5xcDEg==",
  "shasum": "2cb2efa4a4b62f0240eef7d050984af6f929cc72",
  "tarball": "https://registry.npmjs.org/3h-test/-/3h-test-0.6.0.tgz",
  "fileCount": 13,
  "unpackedSize": 83280,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4RhbCRA9TVsSAnZWagAAaJQP/1f+w46vCCqdFK3+oOFz\n6MAJorVHMKm5pHuY8aHcgaSvB8Bw59vdtTLpdTHLelgkLU/TInkii2+dd98s\n2IrSljbosVTwGEk+H9JAmloKWIGne0x0mz6kccrBS1YnxaByqnBlQgxDxAan\n27GPsPZMNgshZAJUJ1a02h2glc/6E380ob977Vm+rtsDuVZXjkR7WG0dq9no\nBndsY+QF/Nu8LpHc3j6CL2RAcs5BcG/nhDNErWh67hn47HGJ1w3TF8ZmCGDS\nI2qD5CRHgQKgZdZkkbDN6AmSlyhuaOI3SQwL2iL9H+j9slffWk7NiOP6HtWy\npfhK6W3UvJ8yYLTribun4omnc+YGEpgthtTtRbyK7erRo2hke9gYeukkK0Xd\nRQmXkcL24mxulzPzUFshScdvuD1q91JOhw/4ij8ASpaOFfyP3HSyj/+ggfFo\nonVTs1xqppBxtNzmY8+xJMQXoWRPSm+t4jyaDZbUNS5foZQWeYHGx4mNgc3t\n02mW0KvTfVgBofuMwBTB/0kMdt+VvCSLn4wnDvhn7psQ1j8G3E2pDaSBdy6j\nZX8R+zBf9x/3zavLaVdtzSh46rAVUiC6Fq0zBrmQ59uwmeHIdDPEKohKT3Ey\nhDZ4N+xeOOvCXvMemXjiw+0RVEGcyK65SvaUamJZOFbDjVb86XhY47d85Rt6\nTK5n\r\n=USri\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIF0AkMWaC3oKcaZOWlANaP/+SlIj3onP4Kn013hVh4GAAiBQkA5VYc+XZ41lyKUwbpZIPmFetz1/kt/kPT+mVjF5eQ=="
    }
  ]
}

Repository

PENDING
huang2002/3h-test

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:43 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:8e3bf9a8805745f649ddd2ccf38e42a629403ef6c8ee5f89380f6b030fd5a727

Other collected versions

0.10.05 Sept0.9.019 Dec0.8.023 Sept0.7.015 Jul0.5.08 Jan0.4.013 NovView all collected versions →