From 4cbf6a362c81e36686df26ee49ebc6e699ba744e Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Thu, 9 Nov 2023 17:27:19 +0530 Subject: [PATCH] update file name --- apps/remix-ide-e2e/src/tests/workspace.test.ts | 2 +- .../circuits/{calculateHash.circom => calculate_hash.circom} | 0 libs/remix-ws-templates/src/templates/hashchecker/index.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename libs/remix-ws-templates/src/templates/hashchecker/circuits/{calculateHash.circom => calculate_hash.circom} (100%) diff --git a/apps/remix-ide-e2e/src/tests/workspace.test.ts b/apps/remix-ide-e2e/src/tests/workspace.test.ts index 058e8be8a8..df85880733 100644 --- a/apps/remix-ide-e2e/src/tests/workspace.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace.test.ts @@ -394,7 +394,7 @@ module.exports = { .execute(function () { (document.querySelector('[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok') as HTMLElement).click() }) .pause(100) .waitForElementVisible('*[data-id="treeViewLitreeViewItemcircuits"]') - .waitForElementVisible('*[data-id="treeViewLitreeViewItemcircuits/calculateHash.circom"]') + .waitForElementVisible('*[data-id="treeViewLitreeViewItemcircuits/calculate_hash.circom"]') .click('*[data-id="treeViewLitreeViewItemcircuits/calculateHash.circom"]') .pause(1000) .getEditorValue((content) => { diff --git a/libs/remix-ws-templates/src/templates/hashchecker/circuits/calculateHash.circom b/libs/remix-ws-templates/src/templates/hashchecker/circuits/calculate_hash.circom similarity index 100% rename from libs/remix-ws-templates/src/templates/hashchecker/circuits/calculateHash.circom rename to libs/remix-ws-templates/src/templates/hashchecker/circuits/calculate_hash.circom diff --git a/libs/remix-ws-templates/src/templates/hashchecker/index.ts b/libs/remix-ws-templates/src/templates/hashchecker/index.ts index 953558ecd2..bcae81f336 100644 --- a/libs/remix-ws-templates/src/templates/hashchecker/index.ts +++ b/libs/remix-ws-templates/src/templates/hashchecker/index.ts @@ -1,7 +1,7 @@ export default async () => { return { // @ts-ignore - 'circuits/calculateHash.circom': (await import('raw-loader!./circuits/calculateHash.circom')).default, + 'circuits/calculate_hash.circom': (await import('raw-loader!./circuits/calculate_hash.circom')).default, // @ts-ignore 'scripts/run_setup.ts': (await import('!!raw-loader!./scripts/run_setup.ts')).default, // @ts-ignore