Skip to content

Commit

Permalink
WIP: other pnpm script updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetetot committed Dec 17, 2024
1 parent 7e734be commit 0d3d8a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/scripts/generate-cron.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const cronContent = {

if (process.env.CACHE_RELOAD_TIME) {
const cacheReloadJob = {
command: `${process.env.CACHE_RELOAD_TIME} npm run cache:refresh`,
command: `${process.env.CACHE_RELOAD_TIME} pnpm run cache:refresh`,
};
if (process.env.CACHE_RELOAD_CONTAINER_SIZE) {
cacheReloadJob.size = process.env.CACHE_RELOAD_CONTAINER_SIZE;
Expand Down
10 changes: 5 additions & 5 deletions high-level-tests/e2e/cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands';
import 'cypress-axe';
import "./commands";
import "cypress-axe";

// Alternatively you can use CommonJS syntax:
// require('./commands')

beforeEach(() => {
cy.exec('npm run db:empty');
cy.exec("pnpm run db:empty");

cy.window().then((win) => {
win.sessionStorage.clear();
});

cy.on('uncaught:exception', (err) => {
cy.on("uncaught:exception", (err) => {
if (
err.message.includes(
'You attempted to remove a function listener which did not exist on the instance, which means you may have attempted to remove it before it was added.'
"You attempted to remove a function listener which did not exist on the instance, which means you may have attempted to remove it before it was added."
)
) {
return false;
Expand Down

0 comments on commit 0d3d8a5

Please sign in to comment.