aboutsummaryrefslogtreecommitdiff
path: root/webAO/__tests__/isAudio.test.ts
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-04-06 14:48:43 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-06-06 03:09:27 +0000
commit31275da317fd58739974ac49c995bca2f7dbcc08 (patch)
tree7b14578ec28cc3106183d5e7e7197d75399d37d1 /webAO/__tests__/isAudio.test.ts
parentf9b5d128fbd63760d4aba9965f4f2eeaf3adb33b (diff)
Update dependencies and ECMAScript target
Fix relevant breaking changes.
Diffstat (limited to 'webAO/__tests__/isAudio.test.ts')
-rw-r--r--webAO/__tests__/isAudio.test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/__tests__/isAudio.test.ts b/webAO/__tests__/isAudio.test.ts
index 327a0de2..f5b84ef9 100644
--- a/webAO/__tests__/isAudio.test.ts
+++ b/webAO/__tests__/isAudio.test.ts
@@ -19,11 +19,10 @@ describe('isAudio', () => {
expect(isAudio('')).toBe(false); // Empty string
expect(isAudio(undefined)).toBe(false); // Undefined input
expect(isAudio(null)).toBe(false); // Null input
- expect(isAudio({})).toBe(false); // Invalid type (object)
});
test('should return true for files with multiple valid extensions', () => {
expect(isAudio('file.wav.mp3')).toBe(true);
expect(isAudio('track.ogg.opus')).toBe(true);
});
-}); \ No newline at end of file
+});