Home / Function/ Test_CORS_Empty_Config() — fiber Function Reference

Test_CORS_Empty_Config() — fiber Function Reference

Architecture documentation for the Test_CORS_Empty_Config() function in cors_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  f82ea9a4_2476_05be_b8f5_de3324163ad9["Test_CORS_Empty_Config()"]
  e59a43fd_cfa4_0f6b_1938_4a08e36ad74e["cors_test.go"]
  f82ea9a4_2476_05be_b8f5_de3324163ad9 -->|defined in| e59a43fd_cfa4_0f6b_1938_4a08e36ad74e
  5d84b982_38fc_0361_6bc1_f6e2392e6bb3["testDefaultOrEmptyConfig()"]
  f82ea9a4_2476_05be_b8f5_de3324163ad9 -->|calls| 5d84b982_38fc_0361_6bc1_f6e2392e6bb3
  style f82ea9a4_2476_05be_b8f5_de3324163ad9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

middleware/cors/cors_test.go lines 25–31

func Test_CORS_Empty_Config(t *testing.T) {
	t.Parallel()
	app := fiber.New()
	app.Use(New(Config{}))

	testDefaultOrEmptyConfig(t, app)
}

Domain

Subdomains

Frequently Asked Questions

What does Test_CORS_Empty_Config() do?
Test_CORS_Empty_Config() is a function in the fiber codebase, defined in middleware/cors/cors_test.go.
Where is Test_CORS_Empty_Config() defined?
Test_CORS_Empty_Config() is defined in middleware/cors/cors_test.go at line 25.
What does Test_CORS_Empty_Config() call?
Test_CORS_Empty_Config() calls 1 function(s): testDefaultOrEmptyConfig.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free