LIST

tsarch alternative typscript architecture test

could not get tsarch working npm uninstall tsarch inspired by https://stackoverflow.com/a/69210603/820837 hacked together my own (in a very rough state) src/architecture.spec.ts import { describe, expect, it } from 'vitest'; import { verifyArchitecture } from './archtest'; describe('Architecture test', () => { it('services should not depend on db', async () => { expect(await verifyArchitecture({ filesFromFolder: 'src/lib/server/services', notDependOnFolder: 'src/lib/server/db' })).toEqual([]); }); it('repositories should not depend on services', async () => { expect(await verifyArchitecture({ filesFromFolder: 'src/lib/server/repositories', notDependOnFolder: 'src/lib/server/services' }))....

March 14, 2025

run taiko with brave persisting browser state

npm i taiko export TAIKO_BROWSER_PATH="/Applications/Brave Browser.app/Contents/MacOS/Brave Browser" npx taiko run.js --observe run.js const {openBrowser, goto, click, write, into, textBox} = require('taiko'); const assert = require('assert').strict; (async () => { try { await openBrowser({ args: [ "--user-data-dir=/tmp/taiko/brave-music-float", "--profile-directory=Default", ] }); let title = `some song`; let titleEncoded = encodeURIComponent(title); await goto(`https://music.youtube.com/search?q=${titleEncoded}`); } catch (error) { console.error(error); // await screenshot({path: 'error.png'}) } finally { // closeBrowser(); } })(); I also tried to get it working in my current open browser...

June 16, 2023

Conference: The Guild of Software Artisans

A world-wide community of software developers that wants to build quality software. More than just working software. It’s amazing…

October 1, 2015