Skip to content

Commit 98397fb

Browse files
committed
New translations unit-testing-framework.mdx (Portuguese)
1 parent 73c4806 commit 98397fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/src/pages/pt/subgraphs/developing/creating/unit-testing-framework.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,7 +1293,7 @@ Using **Matchstick**, Subgraph developers are able to run a script that will cal
12931293

12941294
The test coverage tool takes the compiled test `wasm` binaries and converts them to `wat` files, which can then be easily inspected to see whether or not the handlers defined in `subgraph.yaml` have been called. Since code coverage (and testing as whole) is in very early stages in AssemblyScript and WebAssembly, **Matchstick** cannot check for branch coverage. Instead we rely on the assertion that if a given handler has been called, the event/function for it have been properly mocked.
12951295

1296-
### Prerequisites
1296+
### Pré-requisitos
12971297

12981298
To run the test coverage functionality provided in **Matchstick**, there are a few things you need to prepare beforehand:
12991299

@@ -1311,7 +1311,7 @@ In order for that function to be visible (for it to be included in the `wat` fil
13111311
export { handleNewGravatar }
13121312
```
13131313

1314-
### Usage
1314+
### Uso
13151315

13161316
Assim que tudo estiver pronto, para executar a ferramenta de cobertura de testes, basta:
13171317

0 commit comments

Comments
 (0)