MCPcopy Index your code
hub / github.com/TanStack/devtools / removeEmptySpace

Function removeEmptySpace

packages/devtools-vite/src/remove-devtools.test.ts:4–6  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

2import { removeDevtools } from './remove-devtools'
3
4const removeEmptySpace = (str: string) => {
5 return str.replace(/\s/g, '').trim()
6}
7
8describe('remove-devtools', () => {
9 test('it removes devtools if Imported directly', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected