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 common_setup
} }
@test "yarn.#Build" { @test "yarn" {
dagger up ./yarn-test.cue dagger up
} }

View File

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