
Software Engineer living in Cardiff He/him
Cardiff, Wales
Joined August 2020
- Tweets121
- Following125
- Followers32
- Likes900
When the very CEO of the platform itself is sharing fake news and conspiracy theories, it's time to leave.
17
@ArgosHelpers FYI, TLDs with more than four characters have been around for a long time now...
1
31
Using a Proxy and some nifty TypeScript typing to create simple page objects in @Cypress_io
blog.dai.codes/cypress-testi…
1
Dai Codes retweeted
Replying to @angular
@Angular component testing in Cypress switched from beta to general availability.
If you haven't tried it out so far: Do it now.
You will not regret it. Big promise 👍
Today your tests get an upgrade.
Welcome to Cypress 11! 🎉
Dig into all the exciting upgrades and changes: cypress.io/blog/2022/11/08/a…
#testing #BrowserTesting
Gotcha: Optional chaining in @angular component templates will evaluate to **null** if the expression to the left of the ?. operator is nullish (it would evaluate to **undefined** in JS/TS). Which is a bit of a pain when you're using strict type checking. blog.dai.codes/angular-templ…
1
Dai Codes retweeted
There are 22,143 fewer NHS Beds today than there were in 2010 - the equivalent of losing 8m NHS bed spaces a year
This has doubled waiting lists to over 5 million & was used to justify handing private health £10 billion to “clear the backlog”
Tory cuts to justify privatisation
Thing I learned today:
* Visit any repo on @github (e.g. github.com/angular/angular)
* Make sure you're logged in with your github creds
* Hit the . (dot) key on your keyboard
#github #vscode #awesome
2
Nice to see @joehartofficial making his @CelticFC debut this today. He's "head and shoulders" above the other 'keepers at the club. 🧴💇♂️
Just noticed I've been mentioned under 'special thanks' in the @angular CLI 12.1.0 release back in June. It was only a tiny contribution, but still feels pretty cool to be acknowledged for helping out with such an enormous and widely-used OSS project.
github.com/angular/angular-c…
Dai Codes retweeted
Only France have won more matches than Wales in the last two European Championships combined 🏴
What a team 👏👏👏
I've added a "testing" section to my post about handling loading states in @angular components, which demonstrates using marbles testing to unit test #RxJS observables (a subject worthy of an article of its own, one day...)
blog.dai.codes/handling-http…
How to avoid using tap in an #RxJs Observable to push to values to Subjects, for example, to control the visibility of loading or error states in an #Angular component.
blog.dai.codes/handling-http…
1
3
ngx-http-request-state is a small Angular lib I've recently published to help with this
npmjs.com/package/ngx-http-r…
Well, I'm glad that's finally been cleared up.
#COVID19 #InternetOfThings
health.gov.au/initiatives-an…
1










