This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/tests/stdlib/js/react/react.cue
Solomon Hykes 98b3951c73 stdlib: os package
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-11 17:32:50 -07:00

27 lines
378 B
CUE

package react
import (
"dagger.io/dagger"
"dagger.io/js/react"
"dagger.io/alpine"
"dagger.io/os"
)
TestData: dagger.#Artifact
TestReact: {
app: react.#App & {
source: TestData
}
test: os.#Container & {
image: alpine.#Image & {
package: bash: "=5.1.0-r0"
}
mount: "/build": from: app.build
command: """
test "$(cat /build/test)" = "output"
"""
}
}