Skip to content

Instantly share code, notes, and snippets.

View michalcs's full-sized avatar

Michal Csanaky michalcs

View GitHub Profile
@michalcs
michalcs / cypress-speed-test.ts
Last active September 5, 2021 20:30
Cypress Speed Test
// START Test speed of run
let commands = []
Cypress.on('test:after:run', (attributes) => {
/* eslint-disable no-console */
console.log('Test "%s" has finished in %dms',
attributes.title, attributes.duration)
console.table(commands)
commands.length = 0
})
@michalcs
michalcs / xml-library
Last active June 15, 2020 12:47
remotelib
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
<channel>
<title>My Test Library</title>
<description>My Test Library</description>
<generator>Sketch</generator>
<item>
<title>My Test Library</title>
<pubDate>Wed, 15 Jun 2020 11:57:50 GMT</pubDate>
<enclosure url="http://nothowitlooks.com/assorted/xml-library.sketch" type="application/octet-stream" sparkle:version="1"/>