Catalog npm
Back to packageRELEASE DETAILS

0.2.0

npm

3h-test

A simple test lib.

3hassertexpecttest
Published2 Sept 2020
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
}
^9.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-bM51ZAmn+IjxGgNw2lHgyPegA3S+m3Tn7WuViMeR47FZYaQtw/AQczklI2yneqzE2GJBdtr8UvwDqa3YT0JgeA==",
  "shasum": "d0d4c6e118d8e01224af8d311dfc680db0d65c7e",
  "tarball": "https://registry.npmjs.org/3h-test/-/3h-test-0.2.0.tgz",
  "fileCount": 14,
  "unpackedSize": 77114,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfT3wPCRA9TVsSAnZWagAA/u0QAIZ2xiBtS9muVju7kVZh\nLV+IkXnW3w4P8jVLUWIXcwhScaAPWNtk9N4jXYKbrPgIxuHxHAhzobRdHad8\nts00qf7thnENc1Re/V+wqBCeYuJ9MvyIRzGpGaKpDvKBGr9RpwiX6zIcXHBx\n+9M67JsaLbhHRkL3JdHsaUM2N6yFIWvNJ//cEW50hVIym3VzCCfeVa2s/E2H\nL1prFoyzBF5zqYZQHwplzzvgRuuiM2PIq1kYSlEiyAG4jkVyjYxBZs880QZD\nz07YC4wBYDGxQ0d172Cx0LfYlPiz9m31rrLYNkVNXHzGJwDNVciMZfOFlZzD\nOW99p6g7dyYpCEz1FckW0F67lS7lSYRCIHagoeo6HrL67G/9B/O3EyK0vlNc\n3rY5ulfxXPXPmr3ONN7BY0a6qwx6UhPkreuW2M3FE7GASn2npCW6r3jwB3PP\nr1XsodqQaUPUTm0WpospgMTeE7iz1caYG8h23h9G5Lof84RDJHr65SbovWfF\nCsKQzdObs0Upe5DGLyHhhiE+Kq9mW9gVcpw7jnIZHl4cbQEIj6+Ekj7gDiLk\njG2SWuZ5Qio1bYII0fhvhoNxh8BK9BjzZV76zdz16BBSf4T9prSs/Y7F0Vkl\nzl2OTBG8aCgyTj1833cq45tFwwjfYb9n/uKL99TwLwbeA6QULB2oRdQIojmQ\naoXj\r\n=e69E\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQDYyxhpQ8hI00TjrjNp5333zL63x2T08V7lNw0VHyTxhwIhALjYM+JgAleSZWBRdsBMRG1aq7MYmqIsVqbPKV8zT3Z+"
    }
  ]
}

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:ab5ff02bc9019ae596bf2b8adaab69e0246345a88c63cb1e2a2b7c1e5f24e2e3

Other collected versions

0.10.05 Sept0.9.019 Dec0.8.023 Sept0.7.015 Jul0.6.04 Jul0.5.08 JanView all collected versions →