Skip to content

Changelog

Version 26

26.0.1

  • #1087 fix: guard parent access in addTsEsmHook for ESM-to-CJS sub-dependency resolution
  • #1086 @hapi/lab crashes when TypeScript tests depend on ESM packages

26.0.0

  • #1081 chore: report node 18+ support
  • #1080 26.0.0 Release Notes
  • #1079 chore: next version
  • #1076 feat: target ESLint v9
  • #1071 Tighten type checking config

Version 25

25.3.2

  • #1078 Ignore new TypeScript global leak

25.3.1

  • #1075 fix: coverage for arrow functions returning literals
  • #1074 fix: lint typescript files

25.3.0

  • #1073 feat: add explicit extension support when using Typescript and ESM

25.2.0

  • #1069 Always lint .ts
  • #1065 Add .ts to the default extensions for --lint

25.1.4

  • #1070 Make report an allow list

25.1.2

  • #1061 Fix: add more typescript leaks

25.1.1

25.1.0

  • #1059 Bump @types/node
  • #1058 Deal with Symbol(undici.globalDispatcher.1) in Node.js 18+
  • #1057 Enable linting of _.cjs and _.mjs files
  • #1052 Add missing space after colon

25.0.1

  • #1051 Add check for TS error 2820

25.0.0

  • #1050 Upgrade dependences
  • #1048 Update target to ES2020 to match node 14+
  • #1045 Support node v18
  • #1037 Remove undocumented --coverage-module option
  • #1035 Upgrade to eslint v8
  • #1034 Drop support for node v12
  • #1021 Update linter to work with ESLint 8

Version 24

24.7.0

  • #1044 Revise leak detection to use fresh node globals
  • #1043 New --coverage-predicates option
  • #1042 Remove node 8 compat fix
  • #1041 feat: 🎸 depedencies cli option
  • #1038 Update sindresorhus deps to pre ESM versions
  • #1036 Coverage for nullish coalescing operator
  • #1033 tsconfig paths alias

24.6.0

  • #1032 add Node.js 18 globals
  • #1031 Support for ES modules

24.5.1

  • #1029 Add inline typescript sources to transformed output
  • #1028 Skip coverage on non-mapped transpiled code
  • #1018 Add @hapi/eslint-plugin as peer dependency
  • #1017 Using the coverage reporter requires "@hapi/eslint-plugin" to be installed, even if it’s not used.
  • #1002 Code coverage reports on transpiled JavaScript, instead of TypeScript source
  • #972 Original files in HTML reporter

24.5.0

  • #1026 Add TypeScript support. Closes #1025
  • #1001 Introduce an upper limit to how much actual vs. expected is diffed

24.2.1

  • #1007 Report on private/protected class type errors
  • #1006 Incorrect type error detection

24.2.0

  • #1004 Add new globals for node v16

24.1.1

  • #1000 Fix retrying of passing tests

24.1.0

  • #997 lib: add new globals from Node.js 15.x

24.0.0

  • #996 24.0.0 Release Notes
  • #995 Wait for pending ticks started by test
  • #993 Shallow clone context
  • #992 Allow typescript to be updated by clients
  • #990 Use eslint-plugin-hapi embedded config
  • #987 throw error if an async experiment function is provided

Version v24

v24.4.0

  • #1023 Cleanup flaky tests, lint CLI scripts
  • #1020 Add DOMException and structuredClone globals to leaks module
  • #1019 DOMException will be a global in Node.js 17+

v24.3.2

  • #1016 fix: never instrument eslint configs for coverage

v24.3.1

  • #1015 fix: correct semver range for @hapi/eslint-plugin

v24.3.0

  • #1014 Add eslint configuration
  • #1013 Add eslint-plugin module config to lint/coverage feature
  • #1012 Use the new module ESLint configuration

Version 22

22.0.4

  • #975 Replace mkdirp with Fs.mkdirSync with recursive: true
  • #974 Vulnerability in a dep of mkdirp

22.0.3

22.0.2

  • #963 Record retries
  • #962 Replace Espree with babel-eslint

22.0.1

  • #961 Update es lint version

22.0.0

  • #960 Drop node 10
  • #959 Update lint rules
  • #957 update test assertion for node core changes
  • #955 TS: String object type -> string literal type
  • #954 TS: Uses an inferred generic on flags.mustCall

Version 21

21.0.0

Version 20

20.4.0

  • #948 Tags to skip types test line execution
  • #945 coverage-all option triggers TypeError: Cannot set property 'source' of undefined

20.3.2

  • #943 Fails to load npm modules in ts tests

20.3.1

  • #942 Support types test execution on windows

20.3.0

  • #941 External modules coverage fails on windows due to path
  • #940 Run TS tests, not just validate them
  • #924 New diff is broken
  • #856 coverage analysis modifies a function return

20.2.2

  • #938 Stupid typescript

20.2.1

  • #937 Support coverage of external modules with own coverage reports

20.1.0

  • #936 Ignore symbol leaks

20.0.0

  • #933 Update to eslint 6
  • #932 Single line coverage ignore

Version 19

19.1.0

  • #926 Implement coverage bypass stack
  • #923 Support multiple "only" flags
  • #922 Support for multiple "only"
  • #904 Add affordance for coverage flag stack

19.0.1

  • #921 Handle ts "Cannot find name" error when expected

19.0.0

  • #920 19.0.0 Release Notes
  • #919 Change console reporter labels
  • #918 Typescript test support
  • #917 Remove debug-brk
  • #916 Global leak detector skips Symbol() properties
  • #915 Use util.inspect() for console reporter
  • #914 "console" reporter crashes if object contains a BigInt
  • #572 No mismatch highlighted on -0 !== 0 deep equality mismatch

Version 18

18.1.2

  • #913 Update lint rules modules
  • #912 Add globalThis to symbols

18.1.1

18.1.0

  • #910 Change module namespace

18.0.2

18.0.1

  • #898 Switch back to Hoek.clone from lodash.deepClone.
  • #895 Fix coverage with sourcemaps inlined via Transform API.

18.0.0

  • #894 Have correct exit code with multiple reporters
  • #893 Properly propagate term sig to child lab process
  • #892 Add note about how to get a tests ID
  • #891 Update eslint version
  • #890 Remove deprecated espree option
  • #889 Remove docs about custom linter option
  • #888 Compare coverage pattern to canonical path
  • #885 Centralize espree options
  • #884 Remove old parallel flag from test
  • #883 Use correct gray color code
  • #882 Add missing coverage and remove unnecessary checks
  • #878 Fix false-positive coverage of if statements (REDUCES REPORTED COVERAGE!)
  • #855 Update linter configuration?
  • #852 Console reporter: "gray" is actually light green
  • #842 Coverage fails for multiple conditionals on same line (logical operators)
  • #788 Documentation on using --id
  • #762 Request to consolidate parsers
  • #758 CLI failure test doesn't appear to test what it claims

Version 17

17.3.0

  • #881 Add coverage-pattern option
  • #880 Remove engines
  • #853 Coverage being analized on the test file

17.2.0

  • #879 Check file pattern on coverage traversal
  • #877 Add --coverage-all option
  • #710 setting coverage-path doesn't include all code in path

17.1.0

  • #876 Update dependencies
  • #875 Revert console cov report truncation
  • #871 Improve console coverage report readability

17.0.4

17.0.3

  • #873 Fails to handle non-Error errors
  • #870 Update type definitions to match documented API

17.0.2

  • #869 [ENHANCEMENT] Nullified test context on finish to prevent memory leaks
  • #868 Possible context memory leak?

17.0.1

  • #867 No longer skip scripts when multiple only

17.0.0

  • #866 Add node 11 to travis
  • #865 handle queueMicrotask global added in Node 11
  • #864 Add testsuites output to junit
  • #863 Upgrade source-map and support limited sourcemap descriptors
  • #860 Fixed skipped console output color
  • #846 Only is no longer limited to 1 test
  • #845 junit report generated has both classname and the name as "classname + ' ' + name".
  • #750 html reporter errors when encountering sourcemap chunks with typescript

Version 16

16.1.0

  • #858 Update ecmaversion in eslint
  • #851 Fix stack trace trimming
  • #850 Document paths parameter in .labrc.js

16.0.0

  • #849 Update to eslint v5
  • #844 Disable dep timeout, which is doc default
  • #843 Allow custom handling for global errors/rejections
  • #840 update eslint-config-hapi dependency
  • #782 Disable "uncaughtException" handler for tests
  • #729 -M, --context-timeout is ignored; test passed even it is not triggered

Version 15

15.5.0

  • #838 Support test context from befores
  • #837 Add BigInt globals
  • #836 Update coverage ECMA version to 9 (2018).

15.4.5

  • #833 Add WHATWG Encoding API globals

15.4.4

  • #831 Revert "Wait for stdout to stop writing to exit"

15.4.3

  • #829 Wait for stdout to stop writing to exit
  • #824 Calculate relative filename using node's path
  • #823 Transforming files does not work with yarn workspaces

15.4.2

  • #830 Fix coverage on transformed files. Fixes #826.

15.4.1

  • #821 Update eslint
  • #820 Ignore default-plan-threshold for anything else than tests

15.4.0

  • #819 Implement minimum assertions threshold. Closes #690.
  • #690 Allow to specify minimum number of executed assertions

15.3.1

  • #816 Bump diff to 3.5

15.3.0

  • #815 Update eslint dep
  • #813 Fail test if a falsy value is thrown by the test
  • #812 awaiting a rejected promise can still pass test
  • #811 Can exclude files from coverage

15.2.2

  • #810 Write CLI errors to stderr
  • #809 Update eslint version
  • #808 add URL and URLSearchParams to global variables
  • #399 Missing exports.lab causes error when generating html coverage report

15.2.1

  • #807 Report correct exit code with multiple reporters
  • #806 Add multiple reporter tests
  • #805 Update eslint version
  • #804 Using multiple reporters results into wrong exit code if test fails

15.2.0

  • #803 Update eslint
  • #802 Support object rest/spread under eslint
  • #801 update to use expect from code
  • #797 Update TypeScript typings
  • #794 Fix usage example of flags.onCleanup
  • #793 Added index.d.ts to npmignore
  • #786 Add mustCall feature
  • #784 Updated readme to include alias of ignore
  • #641 ignore setting not supported in .labrc.js

15.1.2

  • #783 Fix for node 9
  • #779 Remove outdated assert statements
  • #778 assertion library "code" is not set by default / documentation is wrong
  • #748 New globals are coming

15.1.1

  • #776 Fix test script error duplicates

15.1.0

  • #774 Update eslint
  • #772 Remove code as default assertion library. Resolves #771
  • #769 Display parser errors when requiring scripts
  • #768 Update README.md

15.0.0

  • #770 15.0.0 Release Notes
  • #766 Remove domains and callbacks
  • #765 Use of onCleanup() when test returns a promise
  • #752 Remove domains in favor of try/catch on async/await

Version 14

14.3.3

  • #817 Bump diff to 3.5 (v14.x.x)

14.3.2

  • #792 Fix for node 9
  • #763 Update deps: eslint, source-map
  • #760 Helpful message when path not found
  • #759 More helpful message when test path not found

14.3.1

  • #755 Fix RangeError for --id when skipping a large number of tests

14.3.0

  • #749 update eslint parser version to 8
  • #746 #647 add example of multiple reporters in .labrc.js

14.2.2

  • #745 Update deps: eslint/supports-color
  • #744 Better color detection

14.2.1

  • #743 Document verbosity value
  • #742 Fix readme linting issues
  • #740 add object spread option
  • #739 Coverage is broken when using object spread operator
  • #737 Please add an explanation of verbosity; what does 'verbosity: 3.00' mean?

14.2.0

  • #735 Document definition file
  • #734 Add TypeScript definition file
  • #731 Typescript support

14.1.2

  • #733 Update dependencies: eslint, espree
  • #732 Be explicit about errors thrown in before/afters
  • #728 Help: Multiple callbacks error with mongo AND lab.before

14.1.1

  • #727 Fix failing test
  • #726 Fix npm 5.2 error

14.1.0

  • #722 Expose Code features directly on script
  • #721 Failed befores properly fail related tests
  • #370 Fail conditions documentation is unclear

14.0.1

  • #720 Support eslint 4 ignore path

14.0.0

  • #719 14.0.0 Release Notes
  • #718 Error on tests with both promise and callback
  • #717 Update eslint/code versions
  • #715 Upgrade to ESLint v4
  • #713 Bundle code as default assertion library
  • #712 Include code assertion library
  • #580 Confusing warning when mixing Promise and callback style

Version 13

13.1.0

  • #707 Update espree version
  • #706 upgrade eslint to 3.19.x
  • #705 Error when doing code coverage: "ecmaVersion must be 3, 5, 6, or 7."
  • #704 Add WebAssembly to allowed globals
  • #697 Node 8 will add WebAssembly global

13.0.4

  • #701 Ignore while a promise returns inside a test with a value. Only watch for rejection
  • #700 Promises that return values now error on finished

13.0.3

  • #699 Fix a domain leak and onCleanup failures

13.0.2

  • #698 Improve bail strategy not to execute next befores/afters
  • #696 Extending linting
  • #693 plan and Lab.assertions not working
  • #689 Fix test
  • #688 Add failing test for conditional value

13.0.1

  • #686 Fix coverage of zero-comment scripts
  • #685 TypeError: Reduce of empty array with no initial value

13.0.0

  • #684 13.0.0 Release Notes
  • #683 Minor cleanup
  • #681 Reduce leaked memory via domains and timers
  • #677 Update eslint version
  • #648 Original files in HTML reporter
  • #614 Test coverage shows untransformed output

Version 12

12.1.0

  • #674 Typos and inspect supports port
  • #673 Add support for Node.js and WebStorm debuggers
  • #651 Implement --inspect so debugging inside a test is possible?

12.0.0

  • #672 12.0.0 Release Notes
  • #671 Add --bail support
  • #670 upgrade espree parser to use ECMAScript latest 8
  • #668 .labrc.js with --harmony options execute failed
  • #640 cli --help command showing incorrect commands
  • #214 Stop Tests On First Failure

Version 11

11.2.2

  • #666 Update eslint
  • #665 Fix test and deprecation warning
  • #664 Update eslint version

11.2.1

  • #662 fix: don't show seed when shuffle was not enabled

11.2.0

  • #659 Node 7, update deps
  • #658 Added a flag (-R, --rejections) to make the test fail if an unhandled Promise rejection happened during its execution
  • #657 feat: allow to set the seed for --shuffle with --seed.
  • #656 when tests fail with --shuffle, how to run tests in the failing order?
  • #654 Update eslint to 3.9.x
  • #653 fixes logic for lab.before timeout #652
  • #652 disable lab before timeout
  • #649 Make the test fail on a Promise unhandled rejection

11.1.0

  • #646 Update deps: eslint, diff
  • #645 Update eslint
  • #644 fixing invalid markup on filter checkboxes
  • #643 Docs: Fix URL in CONTRIBUTING.md
  • #639 Docs: Added documentation for the assert argument
  • #634 The assert command line flag should be properly documented

11.0.1

  • #630 Disable debug mode by default
  • #629 Failed tests reported twice

11.0.0

  • #624 11.0.0 Release Notes
  • #622 Test entire node range before bypassing
  • #621 Update eslint dep
  • #620 Ensure we're not bypassing loc that should be covered
  • #619 update to eslint-config-hapi@10.x.x
  • #459 /* $lab:coverage:(off|on)$ */ disables coverage for a whole module

Version 10

10.9.0

  • #615 Upgrade eslint to v3
  • #613 labrc.js can override all cli options
  • #611 closes #610
  • #610 Upgrade to eslint@2.13.x
  • #609 some options can't be configured with .labrc.js

10.8.2

  • #608 Fix NODE_ENV not being set (fixes #606)
  • #606 NODE_ENV is no longer defaulting to 'test'

10.8.1

  • #603 Display a warning for failed patterns
  • #511 Show better error message when -P fails to find matching patterns

10.8.0

  • #601 Support .labrc.js for configuration
  • #599 Cleanup leak harmony checks
  • #598 Support .labrc files for configuration defaults

10.7.1

  • #597 Add space after failed test x
  • #596 Adjust gray to comply with solarized dark theme

10.7.0

  • #595 Update eslint to v2.10.x
  • #594 Cleanup lint-fix setting
  • #593 Support ability to add notes to a test
  • #591 Add --lint-fix option.
  • #402 Add ability to attach notes to test results

10.6.1

  • #589 Update to code v3
  • #588 Make coverage excludes more explicit
  • #587 Support the same test name in diff experiments
  • #461 File Name Coverage Issue
  • #375 Experiment description not showing in output

10.6.0

  • #586 Default output to stdout
  • #585 Document how to only run linting
  • #584 Don't execute before/after on experiments that lack tests
  • #583 Better documentation for schedule
  • #559 Run linting only
  • #440 before and after blocks
  • #390 Enable output for single-file usage
  • #337 Skipped tests should have their beforeEach() skipped too?
  • #288 self-run scripts don't generate output or respect CLI arguments

10.5.1

  • #579 Promise test check should allow more than one argument

10.5.0

  • #578 Post test cleanup. Closes #577
  • #577 Post test cleanup
  • #576 Support bossy 3

10.4.0

  • #575 Update dependencies
  • #574 id-557: Error thrown when I use --coverage-exclude
  • #573 use stable stringify for better objects diff
  • #557 Error thrown when I use --coverage-exclude

10.3.2

  • #570 Works correctly with node v6
  • #569 Add Reflect to whitelist
  • #568 leaks detected:Reflect using node v6.0.0

10.3.1

  • #556 Code coverage: Always surround expressions in ternary operator with parenthesis
  • #555 Code coverage for conditional operator with comma operator isn't handled correctly
  • #554 Update eslint to v2.5
  • #548 Update README.md

10.3.0

  • #545 Update deps and fix flushing to stdout
  • #544 Feature/silent skips
  • #541 Allow stdout to flush

10.2.0

  • #538 Add plan option for tests
  • #257 Set expected number of assertions

10.1.0

  • #537 Feature: promises
  • #536 Support promises in tests and setup / teardown
  • #534 Fix "multiple only" error with multiple outputs
  • #533 Update readme for global only

10.0.0

  • #530 10.0.0 Release Notes
  • #527 Global "only" (#524)
  • #524 Add a global only flag to improve TDD experience

Version 9

9.1.0

  • #525 Support shuffling execution of scripts

9.0.0

  • #523 9.0.0 Release Notes
  • #522 Remove jslint and support custom linters
  • #507 Add JavaScript Standard Style (standard) as a linter option
  • #282 Make linter pluggable? (PR offer)

Version 8

8.4.0

  • #521 Fix coverage of trailing function declaration
  • #520 Fix coverage report for single-line functions and single-expression arrow functions
  • #274 Single line functions are not property tested for coverage

8.3.0

  • #519 update to eslint@2.x.x

8.2.0

  • #516 upgrade to espree@3.x.x

8.1.0

  • #515 enable parsing the spread operator
  • #514 use of the spread operator breaks coverage

8.0.2

  • #510 Fix coverage when require cache is reset
  • #508 --coverage-exclude should support multiple paths
  • #505 Coverage calculated wrong.

8.0.1

  • #504 Lab .eslintrc rules overrides local eslint rules.
  • #503 Fix eslint configuration file format support.
  • #500 fix diff text visibility for console reporter
  • #493 Diff colors render diff text unreadable

8.0.0

  • #499 8.0.0 release notes
  • #498 Update dependencies
  • #496 update to eslint-config-hapi@8.x.x
  • #495 Add objectLiteralShorthandMethods to supported ES6 features
  • #492 Update dependencies items and eslint
  • #491 Coverage reporting does not support parsing ES6 objectLiteralComputedProperties
  • #487 Es6-ify the README examples
  • #479 Update hapijs/items to 2.0.0 from 1.1.1

Version 7

7.3.0

  • #484 Update linter to include for loop rules

7.2.0

  • #480 Update hapi linter dependencies

7.1.0

  • #478 Update to use ES6 style and lint rules
  • #477 Es6
  • #476 ES6 linting rules
  • #475 consider testing arg passed to done is an error object

7.0.0

  • #474 7.0.0 release notes
  • #473 Remove node 0.10 support
  • #471 Do not add tracking code before "var" in "for(var x of xs)"
  • #470 for(var x of xs) is not handled correctly when coverage is turned on

Version 6

6.2.0

  • #460 Add objectLiteralShorthandMethods to supported ES6 features

6.1.0

6.0.0

  • #455 6.0.0 release notes
  • #454 Update to eslint-config-hapi@3.x.x
  • #453 Lint warning for unused variables except internals
  • #452 -V/--version flag to show version
  • #449 Add --version to CLI

Version 5

5.18.1

  • #451 Rename template for npm publish

5.18.0

  • #448 Add linting information and test failures to html
  • #447 Upgrade deps and avoid relying on unix commands
  • #439 Document html coverage report source markup

5.17.0

  • #445 JSON reporter now supports lint output
  • #443 add lint results to json reporter

5.16.2

  • #442 Update insecure dependencies (eslint, handlebars)
  • #441 Document coverage ignore syntax, fixes #438

5.16.1

  • #437 Drop camelcase lint rule
  • #436 Update to eslint-config-hapi@2.x.x
  • #433 Add Infinity to stringify
  • #432 Updated eslint version

5.16.0

  • #431 Add docs for extending lab's linter
  • #429 Use a shareable config for ESLint
  • #372 .eslintrc files should build on default settings

5.15.2

  • #428 Show invisible tokens on stringify
  • #424 Fix stack traces when using transforms

5.15.1

  • #421 Fix circular JSON for console reporter

5.15.0

  • #420 Add command line options to override coverage path and excludes

5.14.1

  • #416 Allow custom reporters from CLI
  • #415 Custom reporters not allowed from cli
  • #414 Fix test for equal call with extra param
  • #413 Fix extra params passed to equal that are invalid
  • #412 Update eslint to 1.0.x

5.14.0

  • #406 Fix exit code when multiple reporters encounter a failure
  • #404 enable more es6 features for Espree
  • #397 Attach sub-reporters to the multiple reporter
  • #393 Exit code always 0 with multiple reporters

5.13.0

  • #395 Support filename pattern matching in CLI
  • #384 File name matching glob pattern

5.12.1

  • #394 Revert lint rule on spaced comments

5.12.0

  • #392 Attach results to the reporter
  • #389 Multiple reporters and multiple outputs
  • #387 Update to eslint 0.24.x and add array bracket spacing linting rule
  • #386 enable code coverage support with ES6
  • #381 Added space after comment rule

5.11.1

  • #385 Support more relaxed no-shadow rule
  • #380 Update source-map-support to 0.3.x
  • #379 Shadow lint error going too far

5.11.0

  • #377 Remove lint rule for line around comments
  • #376 Lint too aggressive with empty lines before comments
  • #371 Use no-shadow lint rule
  • #369 no-catch-shadow

5.10.0

  • #368 Enforce capitalization of imported module variable names
  • #366 Linting update
  • #365 Update license attribute
  • #364 Cleanup repo style

5.9.0

  • #362 Default both linting thresholds to 0.
  • #361 Lint option -L should fail test if any linting problems are found
  • #360 Use global handle for __$$labCov for use strict.
  • #359 Change afterEaches to run in more natural order
  • #358 unable to test when employing template strings
  • #357 afterEach's run in unnatural order

5.8.1

  • #356 Fix coverage on loop labels. Fixes #355.
  • #355 Error when running lab with coverage on babel compiled code
  • #354 Fix coverage modifying "use strict" statements.

5.8.0

  • #352 Fix #351. Add message about threshold and npm error message.
  • #351 npm ERR! Exit status 1 when threshold is not met
  • #350 Lint thresholds

5.7.0

  • #349 Add 4 space indent rule
  • #348 Add some more rules to ESLint
  • #347 Added two eslint rules to lab to enforce the hapi code style.

5.6.1

  • #345 Switch to espree
  • #344 Update dependencies
  • #332 using espree or acorn instead of esprima

5.6.0

  • #341 Fix HTML reporter when using live-transformed code
  • #339 Add ESLint rule for blank line at beginning of function scope

5.5.1

  • #327 [DEP] eslint 0.14 to 0.17
  • #326 Update eslint to 0.17.0

5.5.0

  • #324 Allow test files to have different extensions with transform
  • #323 Fix EventEmitter bug
  • #322 Fix domain not exited
  • #317 Support custom reporters - closes #216 & closes #309

5.4.0

  • #321 Allow --lint-options to be passed to configure linters
  • #320 Fixes #319: Instructs --output to create given directory recursively.
  • #319 --output should create given directory tree
  • #318 add debug option to show domain error stack
  • #316 Properly support sourcemaps when using the transform option

5.3.0

  • #311 Add live transform of source code before coverage analysis
  • #308 Remove Makefile and advice about it. Closes #284.
  • #307 Linting update

5.2.1

  • #297 Add Intl global
  • #295 Ignore Intl global
  • #280 Ignoring files in linting

5.2.0

  • #290 make linter pluggable
  • #286 Avoid double timeout on before/after

5.1.0

  • #278 Fix before/after exceptions to be reported
  • #277 Errors thrown in after & afterEach can cause immediate exit with code 0

5.0.3

  • #276 (true ? true : false) ? 'x' : false === true when coverage enabled (should be 'x')

5.0.2

  • #271 Add Map, Set, and WeakSet to the Harmony globals and improve testing
  • #262 Fix console reporting

5.0.1

  • #261 Remove extra hoek typo in package.json
  • #260 Add verbosity index

5.0.0

  • #259 5.0.0 Release Notes
  • #258 Remove extra line breaks in lint report
  • #256 Assertions library option
  • #254 Fix documentation to exclude chai
  • #253 Remove Chai
  • #252 Lint report formatting
  • #250 Remove chai

Version 4

4.7.0

  • #249 Fix #217: throw on invalid function declaration
  • #247 Run linting in child process
  • #246 Remove extra line breaks in report
  • #245 Spawn linting in child process
  • #244 Remove extra line breaks

4.6.2

  • #243 Remove brace-style rule
  • #242 Remove brace-style lint rule
  • #241 Lint arg is now a boolean
  • #240 Removing consistent-return
  • #239 Drop consistent-return lint rule
  • #238 Remove no-lonely-if
  • #237 Switch -L to be boolean and only use eslint
  • #236 Remove no-lonely-if

4.6.1

  • #234 Ignore tests for lab
  • #233 Add eslintignore for labs tests
  • #232 Fixing lint rules and only showing files when issues
  • #231 Only show linted files if there are issues

4.6.0

  • #213 WIP - Add linting support

4.5.2

  • #226 Support windows console output
  • #225 Console reporter doesn't display well on windows

4.5.1

  • #219 Fix mistakes on previous pull requests

4.5.0

  • #215 Add optional timeouts on before(Each), after(Each)
  • #207 Fix #178: Add sourcemaps support
  • #178 Code coverage with sourcemaps support

4.4.4

  • #212 Fix #209: omit undefined options
  • #209 code error results in all tests passing

4.4.3

  • #208 Support multiple tests from the command line.

4.4.2

  • #205 Output and leaks are honored
  • #204 CLI: -o not honored

4.4.1

  • #203 Support junit as reporter on cli
  • #200 junit reporter unavailable

4.4.0

  • #199 Add --ignore option and document alias arguments
  • #198 Add test for unknown arguments
  • #197 Restrict CLI reporter checks and add usage on errors
  • #196 Globals
  • #193 Upping to bossy 1.0.0
  • #192 Switching from optimist to bossy
  • #191 Switch from optimist to bossy
  • #187 Added clover reporter

4.3.0

  • #182 Adding lcov format reporter
  • #180 Stray asterisk in README
  • #179 Add tests for coverage that throws
  • #109 Option to output coverage in lcov format

4.2.0

  • #176 Adding test run data to html report
  • #175 Cleanup tests for timeout overrides
  • #174 Add lines covered and not covered to the CC report
  • #118 Way to get coverage report in HTML at the same time as console

4.1.0

  • #172 Upping to version 4.1.0
  • #171 4.1.0 Release Notes
  • #168 updated README to cover JUnit reporter
  • #167 Document JUnit reporter
  • #166 Added junit reporter
  • #165 Junit output
  • #164 Feature - Prevent clobbered timer globals from interfering with runner
  • #163 Updating TAP reporter to specification version 13
  • #162 cli override. Closes #161
  • #161 Allow setting CLI options programatically
  • #159 Detect missing exports.lab in the cli runner
  • #157 Handle tests without a "exports.lab" gracefully
  • #119 Duration of tests shown via TAP

4.0.2

  • #156 Remove skipped tests from total run count
  • #155 Clarify how only behaves
  • #154 Skipped tests still reported on console reporter as being run
  • #152 Set env variable immediately in cli
  • #151 Environment not set before require when using CLI
  • #150 Default to test environment
  • #149 Changed session errors to script errors.
  • #148 Environment set too late
  • #147 Replace async with items
  • #146 Reword session errors to test script errors
  • #145 Replace use of async with items

4.0.1

  • #144 Fixing issue with missing labCov reference
  • #143 lab throws with ReferenceError: __$$labCov is not defined when run with coverage enabled and no code to cover
  • #141 Add test for while coverage
  • #140 Default to null for colors on cli for using tty capabilities
  • #139 CLI colors aren't defaulted to tty capabilities

4.0.0

  • #138 4.0.0 Release Notes
  • #137 Moving to authors file and adding my name
  • #136 Notebook updates
  • #135 Fix for paths with hyphens and increase timeout
  • #133 Cli tests
  • #132 Update readme to reflect all the latest cli options
  • #130 Add lib/cli.js to coverage tests
  • #129 Expose notebook.errors in console reporter
  • #128 Refactor to test lab with lab
  • #126 Checking leaks on non-enumerable properties
  • #124 4.0 Breaking Change
  • #123 Add new ES6 types to knownGlobals
  • #117 "Infinite" Timeout
  • #116 Add describe.skip/only and it.skip/only
  • #113 Repeat failure count at end of errors listing.
  • #110 Lab.test.only and Lab.test.skip
  • #108 Adding coverage tests skew the line-numbers in stack statements.
  • #107 Lab doesn't show the assertion message when an assertion fails
  • #104 Display Test duration once completed (even with errors)
  • #103 tests should fail if before etc call back with an error or crash
  • #100 Fix #99: ignore custom globals in leak detection
  • #98 Add total missing lines to the coverage reporter
  • #60 Add tests

Version 3

3.2.3

  • #131 Rename spumko to hapijs

3.2.1

3.2.0

  • #96 simplify package.json example
  • #94 Add chai optional message to output
  • #90 Allow ability to execute specific subset of tests

3.1.4

  • #92 Prints execution time for each test on console
  • #91 Coverage file filter function modified to support Windows paths #32
  • #32 Coverage not working on Windows

3.1.1

  • #88 updated double call check on done to provide error to internals.output

3.1.0

  • #83 Ability to skip coverage for a code section
  • #81 Add command like option to force color output
  • #78 Support passing 'done' as async callback
  • #77 Show error message not just for boom
  • #76 Expose Chai's assert flavour. Closes #75.

3.0.0

  • #71 Todo tests
  • #70 Skip test or experiment
  • #69 Allow setting per test of experiment timeout
  • #68 Allow setting parallel execution
  • #67 Combine spec+console+summary with -s/-v flags
  • #66 before/beforeEach/afterEach/after not run in correct order when using nested experiments
  • #65 Rename -g to -l and make it disable detection
  • #64 Remove coverage reporter
  • #63 Remove verbose mode
  • #62 Tap reporter
  • #56 spec style formatting
  • #55 fixed failure count so that non-zero exit code is return on test failure
  • #53 Support verbose mode for console
  • #48 Adding spec reporter

Version 2

2.47.1

  • #1047 Fix coverage ignore flag when ts comments are removed
  • #1046 Report "Type T has no properties in common with type U" as a type error

2.0.2

  • #61 Remove SwitchCase from statement coverage

2.0.0

  • #54 Move coverage functionality internally

Version 1

1.9.0

  • #51 update chai dependency, fix deprecation warning in chai

1.8.0

  • #49 Allow specifying tests by id
  • #41 Support beforeEach() (and afterEach())

1.7.1

  • #47 Fixed branch checking

1.7.0

  • #46 update readme
  • #45 Fix double domain implicit enter()
  • #43 fix for readme
  • #42 add beforeEach() and afterEach()

Deploys by Netlify