UNPKG

cypress-bootstrap

Version:

Cypress Bootstrap is a project scaffolding tool that sets up a Cypress automation framework with a standardized folder structure and Page Object Model (POM) design. It helps teams quickly start testing with built-in best practices and sample specs.

13 lines (10 loc) 268 B
var test = require('tape'); var inspect = require('../'); var obj = { x: 'a\r\nb', y: '\x05! \x1f \x12' }; test('interpolate low bytes', function (t) { t.plan(1); t.equal( inspect(obj), "{ x: 'a\\r\\nb', y: '\\x05! \\x1F \\x12' }" ); });