From 77b3405ec66167d0e9dfc288ebd633e3f81c5afe Mon Sep 17 00:00:00 2001 From: Robert Soriano Date: Sun, 17 Jul 2022 12:15:34 -0700 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a41cafa..e48fca1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # bun-wifi-name -Get current wifi name in Bun. +Get current wifi name in Bun/Node. ## Install From 35afaea9ba98cac8196fa6b3eaee9fc5afff3b3f Mon Sep 17 00:00:00 2001 From: Robert Soriano Date: Mon, 18 Jul 2022 08:33:48 -0700 Subject: [PATCH 2/3] Update index.test.ts --- test/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.test.ts b/test/index.test.ts index 0f16cc4..071f684 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -3,5 +3,5 @@ import { getWifiName } from '../src' test('getWifiName', () => { const notEmpty = getWifiName() !== '' - expect(true).toBe(notEmpty) + expect(notEmpty).toBe(true) }) From 4d61946735f86987ca8bf17f852b1490963f0802 Mon Sep 17 00:00:00 2001 From: Robert Soriano Date: Mon, 18 Jul 2022 08:34:25 -0700 Subject: [PATCH 3/3] Update index.test.ts --- test/index.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/index.test.ts b/test/index.test.ts index 071f684..8de7dd1 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -2,6 +2,7 @@ import { expect, test } from 'bun:test' import { getWifiName } from '../src' test('getWifiName', () => { + // Wifi name is unique so... const notEmpty = getWifiName() !== '' expect(notEmpty).toBe(true) })