fix(websocket): Added unit tests to CI + minor fix to pass it

This commit is contained in:
David Cermak
2023-05-16 18:36:39 +02:00
parent 247baeed22
commit c974c14220
9 changed files with 67 additions and 15 deletions

View File

@@ -1,2 +1,8 @@
idf_component_register(SRC_DIRS "."
PRIV_REQUIRES cmock test_utils esp_websocket_client)
# This is the project CMakeLists.txt file for the test subproject
cmake_minimum_required(VERSION 3.16)
set(EXTRA_COMPONENT_DIRS ../../esp_websocket_client
"$ENV{IDF_PATH}/tools/unit-test-app/components")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(websocket_unit_test)