This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.function.UnaryOperator | |
import javax.sql.DataSource | |
import org.flywaydb.core.Flyway | |
import org.flywaydb.core.api.configuration.FluentConfiguration | |
import org.flywaydb.core.api.output.MigrateResult | |
import zio.* | |
import zio.test.TestAspect | |
object FlywayTestAspect: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.sql.Connection | |
import javax.sql.DataSource | |
import org.postgresql.ds.PGSimpleDataSource | |
import org.testcontainers.containers.PostgreSQLContainer as OriginalPostgreSQLContainer | |
import zio.* | |
class PostgreSQLContainer(dockerImageName: String) | |
extends OriginalPostgreSQLContainer[PostgreSQLContainer](dockerImageName) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict" | |
const identity = x => x | |
const of = x => [x] | |
const empty = () => [] | |
const concat = (xs, ys) => [...xs, ...ys] |