@@ -291,7 +291,7 @@ import { handleExampleEvent } from "../src/contract"
291
291
import { createExampleEventEvent } from "./contract-utils"
292
292
293
293
// Tests structure (matchstick-as >=0.5.0)
294
- // https://thegraph.com/docs/en/developer/matchstick/ #tests-structure-0-5-0
294
+ // https://thegraph.com/docs/en/subgraphs/developing/creating/unit-testing-framework/ #tests-structure
295
295
296
296
describe("Describe entity assertions", () => {
297
297
beforeAll (() => {
@@ -310,7 +310,7 @@ describe("Describe entity assertions", () => {
310
310
})
311
311
312
312
// For more test scenarios, see:
313
- // https://thegraph.com/docs/en/developer/matchstick /#write-a-unit-test
313
+ // https://thegraph.com/docs/en/subgraphs/developing/creating/unit-testing-framework /#write-a-unit-test
314
314
315
315
test (" ExampleEvent created and stored" , () => {
316
316
assert .entityCount (" ExampleEvent" , 1 )
@@ -348,7 +348,7 @@ describe("Describe entity assertions", () => {
348
348
)
349
349
350
350
// More assert options:
351
- // https://thegraph.com/docs/en/developer/matchstick /#asserts
351
+ // https://thegraph.com/docs/en/subgraphs/developing/creating/unit-testing-framework /#asserts
352
352
})
353
353
} )
354
354
"
@@ -458,7 +458,7 @@ import { handleExampleEvent } from "../src/contract"
458
458
import { createExampleEventEvent } from "./contract-utils"
459
459
460
460
// Tests structure (matchstick-as >=0.5.0)
461
- // https://thegraph.com/docs/en/developer/matchstick/ #tests-structure-0-5-0
461
+ // https://thegraph.com/docs/en/subgraphs/developing/creating/unit-testing-framework/ #tests-structure
462
462
463
463
describe("Describe entity assertions", () => {
464
464
beforeAll (() => {
@@ -477,7 +477,7 @@ describe("Describe entity assertions", () => {
477
477
})
478
478
479
479
// For more test scenarios, see:
480
- // https://thegraph.com/docs/en/developer/matchstick /#write-a-unit-test
480
+ // https://thegraph.com/docs/en/subgraphs/developing/creating/unit-testing-framework /#write-a-unit-test
481
481
482
482
test (" ExampleEvent created and stored" , () => {
483
483
assert .entityCount (" ExampleEvent" , 1 )
@@ -515,7 +515,7 @@ describe("Describe entity assertions", () => {
515
515
)
516
516
517
517
// More assert options:
518
- // https://thegraph.com/docs/en/developer/matchstick /#asserts
518
+ // https://thegraph.com/docs/en/subgraphs/developing/creating/unit-testing-framework /#asserts
519
519
})
520
520
} )
521
521
"
0 commit comments