UNPKG

plat

Version:

A tool for working with JavaScript platforms agnostically

11 lines (8 loc) 296 B
describe 'plat on client', -> it '.isServer is false', -> (expect plat.isServer).toBe false it '.isClient is true', -> (expect plat.isClient).toBe true it '.global is reference to window', -> (expect plat.GLOBE is window).toBe true (expect plat.globe is window).toBe true