mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00
chore(ext/kv): disable ci tests on darwin (#18364)
https://github.com/denoland/deno/issues/18363
This commit is contained in:
parent
f9c8d98b77
commit
a117d3d91e
1 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,13 @@ import {
|
||||||
assertThrows,
|
assertThrows,
|
||||||
} from "./test_util.ts";
|
} from "./test_util.ts";
|
||||||
|
|
||||||
|
let isCI: boolean;
|
||||||
|
try {
|
||||||
|
isCI = Deno.env.get("CI") !== undefined;
|
||||||
|
} catch {
|
||||||
|
isCI = true;
|
||||||
|
}
|
||||||
|
|
||||||
Deno.test({
|
Deno.test({
|
||||||
name: "openKv :memory: no permissions",
|
name: "openKv :memory: no permissions",
|
||||||
permissions: {},
|
permissions: {},
|
||||||
|
@ -36,6 +43,8 @@ Deno.test({
|
||||||
function dbTest(name: string, fn: (db: Deno.Kv) => Promise<void>) {
|
function dbTest(name: string, fn: (db: Deno.Kv) => Promise<void>) {
|
||||||
Deno.test({
|
Deno.test({
|
||||||
name,
|
name,
|
||||||
|
// https://github.com/denoland/deno/issues/18363
|
||||||
|
ignore: Deno.build.os === "darwin" && isCI,
|
||||||
async fn() {
|
async fn() {
|
||||||
const db: Deno.Kv = await Deno.openKv(
|
const db: Deno.Kv = await Deno.openKv(
|
||||||
":memory:",
|
":memory:",
|
||||||
|
|
Loading…
Add table
Reference in a new issue