yarn: cleanup tests

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes 2022-02-09 08:58:34 +00:00
parent 75edd1b983
commit b23a90c9b1
4 changed files with 5 additions and 4 deletions

View File

@ -4,6 +4,6 @@ setup() {
common_setup
}
@test "yarn.#Build" {
dagger up ./yarn-test.cue
@test "yarn" {
dagger up
}

View File

@ -9,12 +9,13 @@ import (
dagger.#Plan & {
inputs: directories: {
testdata: path: "./testdata"
testdata2: path: "./testdata2"
testdata: path: "./data/foo"
testdata2: path: "./data/bar"
}
actions: tests: {
// Run yarn.#Build
simple: {
build: yarn.#Build & {
source: inputs.directories.testdata.contents