
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
cells-back-compatibility-apps
Advanced tools
Repository where the functional tests of the apps will be executed
Repo with the functional tests for back compatibility in all the apps of BBVA.
In the apps-test.js
file we have several variables to configure in order to execute all the tests that we like.
flowsToTest
: function that returns an array with the configuration of all the flows that you want to check. Example:
const flowsToTest = () => {
return [
{
name: 'clean',
exec: clean,
timeout: 500000
}, {
name: 'build',
exec: build,
timeout: 500000
}, {
name: 'validate',
exec: validate,
timeout: 500000
}
];
};
In this case we have configured the flows clean
, build
and validate
.
testApps
: array with the config of the apps to test. Example:
const testApps = [
{
name: 'MyBusiness.es',
type: 'novulcanize',
config: 'config-dev',
platforms: 'webapp'
},
{
name: 'glomo-bridge.gb',
type: 'novulcanize',
config: 'global/artichoke',
platforms: 'webapp'
}
];
setPisco
: function that set the bin/pisco.js
const setPisco = () => {
if (!process.env.piscoExec) {
process.env.piscoExec = 'node /Users/albertoeyocastro-rial/sngular/wk-cells/cells-workspace/tools/cells-cli/bin/pisco.js';
}
};
We have to remember that wen this module is executed from the outside, the value of this variable will be the piscosour executable of the recipe to be tested.
If we like to test the apps configured in the previous section, we launch simply npm test
Include new apps to test is very simple. First of all we have to include in the dev-dependencies this new app. In order to do so we execute:
npm i --save-dev git+${routeToApp}
Example:
npm i --save git+ssh://git@globaldevtools.bbva.com:7999/bbvacellsapp/enginevents.git
In the testApps
object, we include the configuration of this app:
const testApps = [
{
name: 'MyBusiness.es',
type: 'novulcanize',
config: 'config-dev',
platforms: 'webapp'
},
{
name: 'glomo-bridge.gb',
type: 'novulcanize',
config: 'global/artichoke',
platforms: 'webapp'
},
{
name: 'enginevents',
type: 'vulcanize',
config: 'dev',
platforms: 'webapp'
}
];
Now we can see the results of this new app too:
FAQs
Repository where the functional tests of the apps will be executed
We found that cells-back-compatibility-apps demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.