From 60fb3a9c7a7ba428dc143ba1e2fe452fc8db7572 Mon Sep 17 00:00:00 2001
From: bytedream <bytedream@protonmail.com>
Date: Tue, 16 Jan 2024 18:10:43 +0100
Subject: [PATCH] fix link to cargo.toml example in testing

---
 src/testing.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/testing.md b/src/testing.md
index 0c448fc..86ccde4 100644
--- a/src/testing.md
+++ b/src/testing.md
@@ -3,7 +3,7 @@
 Testing is not very different from testing any other ordinary Rust crate.
 
 When running tests, Rust tries to execute the generated Javascript glue directly which will result in an error.
-You have to specify the test runner which executes the Javascript, either in the `.cargo/config.toml` file (described [here]()) or via the `CARGO_TARGET_WASM32_UNKNOWN_EMSCRIPTEN_RUNNER` env variable to `node --experimental-default-type=module`.
+You have to specify the test runner which executes the Javascript, either in the `.cargo/config.toml` file (described [here](./tutorial/creating-a-project.md#cargoconfigtoml-optional)) or via the `CARGO_TARGET_WASM32_UNKNOWN_EMSCRIPTEN_RUNNER` env variable to `node --experimental-default-type=module`.
 <br>
 If your crate is a library, you also have to remove the `-o<library name>.js` compiler option as it modifies the output filename which the Rust test suite can't track.
 Because the `test` subcommand compiles the tests as normal binaries, the Emscripten compiler automatically creates the js glue.