Skip to content

Commit 110252b

Browse files
committed
fix: handle edge cases
1 parent 4f60290 commit 110252b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/_internals/test/runtime-deno.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/// <reference path="./globals.d.ts" />
1+
/// <reference lib="deno.ns" />
2+
import "./globals.d.ts";
23

34
type TestCallback = () => void | Promise<void>;
45

src/get-address-info-by-cep/get-address-info-by-cep.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ const globalWithLiveFlag = globalThis as typeof globalThis & {
9090
};
9191

9292
function shouldRunLiveCepTests() {
93-
if (globalWithLiveFlag.RUN_LIVE_CEP_TESTS === "1" || globalWithLiveFlag.RUN_LIVE_CEP_TESTS === 1) {
93+
if (
94+
globalWithLiveFlag.RUN_LIVE_CEP_TESTS === "1" ||
95+
globalWithLiveFlag.RUN_LIVE_CEP_TESTS === 1
96+
) {
9497
return true;
9598
}
9699

0 commit comments

Comments
 (0)