Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Oluwaseun seunzone

🏠
Working from home
Block or report user

Report or block seunzone

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View testcafe.js
import { Selector } from 'testcafe';
const title = Selector('h4');
fixture('Test')
.page('http://localhost:5000');
test('Test', async (t) => {
await t
.expect(title.innerText).eql('My Todo List')
View js
import { Selector } from 'testcafe';
const title = Selector('h4');
fixture('Test')
.page('http://localhost:5000');
test('Test', async (t) => {
await t
.expect(title.innerText).eql('My Todo List')
View maxchar.js
const maxChar = str => {
const myStr = str.toLowerCase();
const charMap = {};
let max = 0;
let maxChar = '';
for (let char of myStr) {
if (!charMap[char]) {
charMap[char] = 1;
} else {
You can’t perform that action at this time.