summaryrefslogtreecommitdiffhomepage
path: root/mullvad-api
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2024-12-13 11:42:22 +0100
committerEmīls <emils@mullvad.net>2025-01-02 10:29:01 +0100
commit58efb1004f8ca762fe6aa95f541c6dc329ed790e (patch)
tree90d93258f4360d84820363560d21d6f87fed1ba4 /mullvad-api
parent9e98f669a978aee8b656f520a8b952175d88e921 (diff)
downloadmullvadvpn-58efb1004f8ca762fe6aa95f541c6dc329ed790e.tar.xz
mullvadvpn-58efb1004f8ca762fe6aa95f541c6dc329ed790e.zip
Add mockito
Diffstat (limited to 'mullvad-api')
-rw-r--r--mullvad-api/Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/mullvad-api/Cargo.toml b/mullvad-api/Cargo.toml
index a822593600..fc9d7d899b 100644
--- a/mullvad-api/Cargo.toml
+++ b/mullvad-api/Cargo.toml
@@ -45,6 +45,7 @@ shadowsocks = { workspace = true, features = [ "stream-cipher" ] }
[dev-dependencies]
talpid-time = { path = "../talpid-time", features = ["test"] }
tokio = { workspace = true, features = ["test-util", "time"] }
+mockito = "1.6.1"
[build-dependencies]
cbindgen = { version = "0.24.3", default-features = false }
@@ -55,3 +56,8 @@ uuid = { version = "1.4.1", features = ["v4"] }
[lib]
crate-type = [ "rlib", "staticlib" ]
bench = false
+
+[[test]]
+name = "ffi"
+# required-features = [ "api-override" ]
+features = [ "api-override" ]