github.com/motyar/up@v0.2.10/config/lambda_test.go (about)

     1  package config
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/tj/assert"
     7  )
     8  
     9  func TestLambda(t *testing.T) {
    10  	c := &Lambda{}
    11  	assert.NoError(t, c.Default(), "default")
    12  	assert.Equal(t, 0, c.Timeout, "timeout")
    13  	assert.Equal(t, 512, c.Memory, "timeout")
    14  }