-
-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: remove streetlight example for testing #364
Conversation
test/templateConfigValidator.test.js
Outdated
@@ -1,7 +1,7 @@ | |||
const { validateTemplateConfig } = require('../lib/templateConfigValidator'); | |||
const fs = require('fs'); | |||
const path = require('path'); | |||
const streetlightYAML = fs.readFileSync(path.resolve(__dirname, './docs/streetlights.yml'), 'utf8'); | |||
const streetlightYAML = fs.readFileSync(path.resolve(__dirname, './docs/dummy.yml'), 'utf8'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename to dummyYAML
since streetlight is no longer a thing in the generator 🤔?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of course, you are right, great catch, on it
Kudos, SonarCloud Quality Gate passed!
|
@fmvilas I need your another approval, I removed streetlight named variables from tests as per @jonaslagoni suggestion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
🎉 This PR is included in version 0.52.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Long term when we go more and more functional in templates, I believe there will be a need to separate dummy file into: dummy-ws, dummy-amqp, dummy-n files becase there might be a case in future we add support for more extensions and bindings and simply having all in one will probably not be possible (that is just an assumption)
Related issue(s)
Resolves #238