Skip to content

Commit 37fc61b

Browse files
missing 'a'
1 parent 18bf1b7 commit 37fc61b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ test('file/ipfs dataSource creation example', () => {
12911291

12921292
Using **Matchstick**, Subgraph developers are able to run a script that will calculate the test coverage of the written unit tests.
12931293

1294-
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.
1294+
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 a 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

12961296
### Prerequisites
12971297

0 commit comments

Comments
 (0)