mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
Add util to detect test env
This commit is contained in:
3
utils/testing.js
Normal file
3
utils/testing.js
Normal file
@ -0,0 +1,3 @@
|
||||
const isTesting = () => process.env.NODE_ENV === "test";
|
||||
|
||||
module.exports = { isTesting };
|
||||
Reference in New Issue
Block a user