We can download many test modules
or test suites
from the Cabloy store. These test modules/suites
not only facilitate the quick learning of knowledge points in all aspects of CabloyJS, but also provide a large number of code examples to facilitate the rapid start of actual project development
By default, these test modules/suites are enabled. If you want to disable them in the production environment, just do the following:
Disable at backend
src/backend/config/config.prod.js
- 1 // disabledModules
- 2 config.disabledModules = [
- 3 'test-flow', //
- 4 'test-note',
- 5 ];
- 6
- 7 // disabledSuites
- 8 config.disabledSuites = [
- 9 'test-party', //
- 10 ];
Disable at frontend
src/front/config/config.{env}.js
- 1 base: {
- 2 disabledModules: [
- 3 'test-flow', //
- 4 'test-note',
- 5 ],
- 6 disabledSuites: [
- 7 'test-party',
- 8 ],
- 9 },
Comments: