Skip to content

Instantly share code, notes, and snippets.

View jkirira's full-sized avatar

James Kirira jkirira

  • Nairobi, Kenya
View GitHub Profile
[
"Hello": "World",
"Como": [
"Estas": "Si",
"Esta": "Bien"
]
]
@jkirira
jkirira / login.spec.js
Last active February 11, 2023 19:36
Simple js testing spec for a vue login component
require('jsdom-global')()
const assert = require('assert')
import UserLogin from "../../../components/UserLogin";
import { mount } from '@vue/test-utils'
describe("login", () => {
let component;
const wrapper = mount(UserLogin)
@jkirira
jkirira / index.html
Last active March 2, 2022 10:18
Vue with plain css loader
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>codesandbox</title>
</head>
<body>