airbnb/hypernova
Copy this badge! ↑
BatchManager
request contexts
returns a plugin data map that persists across the plugin
BatchManager-test.js
BatchManager
request contexts
contains information about the specific job
BatchManager-test.js
BatchManager
request contexts
contains information about the batch
BatchManager-test.js
BatchManager
.render()
sets the html and duration for the right context
BatchManager-test.js
BatchManager
.render()
fails if component is not registered
BatchManager-test.js
BatchManager
.render()
fails when a component returns falsy html
BatchManager-test.js
BatchManager
.recordError()
sets error and status code for the jobContext, when token is present
BatchManager-test.js
BatchManager
.recordError()
sets error and status code for the batch, when no token is present
BatchManager-test.js
BatchManager
.getResult()
returns an object with the html of the right jobContext
BatchManager-test.js
BatchManager
.getResult()
returns an object with the html of the right jobContext
BatchManager-test.js
BatchManager
.getResults()
returns an object with keys of tokens of each job
BatchManager-test.js
BatchManager
.getResults()
contains a duration even if there is an error
BatchManager-test.js
should load up the DOM
client-test.js
should not be called unless there is a node
client-test.js
should be called if there is a node
client-test.js
coordinator
default method returns correct number of cpus
coordinator-test.js
coordinator
uses the correct number of cpus
coordinator-test.js
createGetComponent
returns the module if it exists
createGetComponent-test.js
createGetComponent
returns null if it does not exist
createGetComponent-test.js
createVM
runs the code
createVM-test.js
createVM
caches module.exports
createVM-test.js
createVM
flushes the cache
createVM-test.js
escaping
escapes
escape-test.js
escaping
loads the escaped content correctly
escape-test.js
escaping
escapes multiple times the same, with interleaved decoding
escape-test.js
escaping
escapes quotes and fixes data attributes
escape-test.js
getFiles
retrieves files
getFiles-test.js
the runner
runs server if window is not defined
hypernova-runner-test.js
hypernova
DATA_KEY constant should be importable
index-test.js
hypernova
DATA_ID constant should be importable
index-test.js
lifecycle
.runAppLifecycle
runs with sync methods
lifecycle-test.js
lifecycle
.runAppLifecycle
runs with async methods
lifecycle-test.js
lifecycle
.runAppLifecycle
runs with multiple plugins
lifecycle-test.js
lifecycle
.runLifecycle
runs with sync methods
lifecycle-test.js
lifecycle
.runLifecycle
runs with async methods
lifecycle-test.js
lifecycle
.runLifecycle
runs with promises and sync methods
lifecycle-test.js
lifecycle
.runLifecycleSync
runs methods synchronously
lifecycle-test.js
lifecycle
.errorSync
calls onError synchronously with error object
lifecycle-test.js
lifecycle
.processJob
calls lifecycle methods in correct order
lifecycle-test.js
lifecycle
.processJob
calls plugin methods with proper arguments
lifecycle-test.js
lifecycle
.processJob
on an error, fails fast
lifecycle-test.js
lifecycle
.processJob
on an error, calls manager.recordError
lifecycle-test.js
lifecycle
.processJob
on an error, calls onError for plugins
lifecycle-test.js
lifecycle
.processBatch
when concurrent is
calls lifecycle methods in correct order
lifecycle-test.js
lifecycle
.processBatch
when concurrent is
on an error, fails fast
lifecycle-test.js
lifecycle
.processBatch
when concurrent is
on an error, calls manager.recordError
lifecycle-test.js
lifecycle
.processBatch
when concurrent is
on an error, calls onError for plugins
lifecycle-test.js
loadModules
loads the respective environment
loadModules-test.js
loadModules
works if one module is passed
loadModules-test.js
loadModules
still works if a module that does not exist is passed
loadModules-test.js
Load More