Skip to content

Updates readme

Updates readme #123

GitHub Actions / test (ubuntu-latest, 20.x) succeeded Feb 6, 2024 in 0s

27 passed, 0 failed and 0 skipped

Tests passed successfully

✅ /home/runner/work/_temp/report-ubuntu-latest.json

27 tests were completed in 1s with 27 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/e2e.spec.js 4✅ 765ms
test/input.spec.js 5✅ 0ms
test/installer.spec.js 9✅ 331ms
test/makensis.spec.js 3✅ 16ms
test/output.spec.js 5✅ 0ms
test/readme.spec.js 1✅ 0ms

✅ test/e2e.spec.js

e2e
  ✅ should create installer for basic.nsi
  ✅ should create installer for with-plugins.nsi
  ✅ should have the latest build committed
  ✅ should not have an unexpectedly large bundled file

✅ test/input.spec.js

input getInput
  ✅ should assign additionalPluginPaths, given 'additional-plugin-paths'
  ✅ should assign customArguments, given 'arguments'
  ✅ should assign scriptFile, given 'script-file'
  ✅ should not include additionalPluginPaths, given whitespace in 'additional-plugin-paths'
  ✅ should trim additionalPluginPaths, given whitespace padding in 'additional-plugin-paths'

✅ test/installer.spec.js

Installer createInstaller
  ✅ should create installer for basic.nsi
  ✅ should create installer for with-plugins.nsi
Installer getCustomArguments
  ✅ should return blank, given new instance
  ✅ should return value, given setCustomArguments call
Installer getProcessArguments
  ✅ should default to all verbosity, given **debug** mode
  ✅ should default to no warnings verbosity, given no debug mode
  ✅ should not add verbosity, given -V is in arguments
  ✅ should not add verbosity, given /V is in arguments
  ✅ should resolve and quote script path

✅ test/makensis.spec.js

Makensis execAsync
  ✅ should return help information
Makensis getSymbolsAsync
  ✅ should include the NSIS_VERSION
  ✅ should include the NSISDIR

✅ test/output.spec.js

output fail
  ✅ should call setFailed with generic error message, given empty string error
  ✅ should call setFailed with generic error message, given null error
  ✅ should call setFailed with generic error message, given undefined error
  ✅ should call setFailed, given Error
  ✅ should call setFailed, given string

✅ test/readme.spec.js

README
  ✅ should list all inputs