-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add erc20 paymaster test and refactor testing (#38)
* test: add erc20 paymaster test and refactor testing * fix: try waiting for hh setup * fix: interactive cli * chore: replace span with component
- Loading branch information
1 parent
3737777
commit 5c6b7b6
Showing
17 changed files
with
524 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<template> | ||
<span | ||
:id="actionId" | ||
data-test-action | ||
/> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
defineProps<{ | ||
actionId: string; | ||
}>(); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { steps as erc20PaymasterSteps } from './erc20-paymaster'; | ||
import { steps as howToTestContractsSteps } from './how-to-test-contracts'; | ||
|
||
export function getConfig(tutorialName: string) { | ||
let steps; | ||
switch (tutorialName) { | ||
case 'erc20-paymaster': | ||
steps = erc20PaymasterSteps; | ||
break; | ||
case 'how-to-test-contracts': | ||
steps = howToTestContractsSteps; | ||
break; | ||
default: | ||
break; | ||
} | ||
|
||
return steps; | ||
} |
Oops, something went wrong.