MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / squish

Function squish

packages/vite/hmr/server/websocket-bindings.spec.ts:5–7  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

3
4// Helper to normalize whitespace for robust assertions
5function squish(s: string) {
6 return s.replace(/\s+/g, ' ').trim();
7}
8
9describe('ensureNativeScriptModuleBindings', () => {
10 it('rewrites pinia named import to vendor require binding and binds defineStore', () => {

Callers 1

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected