1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/test/unit/@node-red/registry/lib
Steve-Mcl 98ebb02763 improve tests for nodeDir
Adds new resources (loose files, non NR pkgs, NR modules, NR Plugins)
Adds new tests
#getNodeFiles - new tests below
  √ Finds nodes and icons only in nodesDir with files, icons and valid node-red packages
  √ Should not find node-red node in nodesDir with files, icons and valid node-red packages
  √ Should not find node-red node in nodesDir when regular package and valid node-red packages
#getModuleFiles - new tests below
  √ gets a nodes module files
  √ Finds only 1 node-red node in nodesDir amongst legacy nodes and regular nodes
  √ Finds a node-red node in nodesDir with a sub dir containing valid node-red package
  √ Finds 2 node-red node and 1 plugin in nodesDir (in root of dir)
  √ Finds 2 node-red node and 1 plugin in nodesDir pointing to a node_modules dir
2022-06-16 11:00:31 +01:00
..
resources improve tests for nodeDir 2022-06-16 11:00:31 +01:00
deprecated_spec.js Fixup all the tests 2018-08-20 16:17:24 +01:00
externalModules_spec.js Add unit tests for externalModules.import 2021-07-15 09:52:53 +01:00
index_spec.js Update to latest sinon 2021-04-09 11:22:57 +01:00
installer_spec.js Add unit tests for allowUpdate settings 2021-09-14 10:50:26 +01:00
library_spec.js Update runtime apis to support multiple libraries 2019-04-25 11:32:09 +01:00
loader_spec.js Update to latest sinon 2021-04-09 11:22:57 +01:00
localfilesystem_spec.js improve tests for nodeDir 2022-06-16 11:00:31 +01:00
plugins_spec.js Improve unit test coverage 2021-10-04 17:53:14 +01:00
registry_spec.js Improve unit test coverage 2021-10-04 17:53:14 +01:00
subflow_spec.js Support npm subflow modules 2021-01-07 11:10:33 +00:00
util_spec.js Improve unit test coverage 2021-10-04 17:53:14 +01:00