Skip to content

Instantly share code, notes, and snippets.

View jonnydgreen's full-sized avatar
🌍
Developing with Godot on Parley - stay tuned!

Jonny Green jonnydgreen

🌍
Developing with Godot on Parley - stay tuned!
View GitHub Profile
@jonnydgreen
jonnydgreen / welcome.test.ts
Created November 10, 2021 19:32
Deno testing of testing of testing of testing of testing of testing ...
import chai from "https://cdn.skypack.dev/chai@4.3.4?dts";
import { assertEquals, assertNotEquals } from "https://deno.land/std@0.114.0/testing/asserts.ts";
const foo = "bar";
const beverages = { tea: ["chai", "matcha", "oolong"] };
Deno.test("Test Assert Equals", () => {
assertEquals(1, 1);
assertEquals("Hello", "Hello");
@jonnydgreen
jonnydgreen / welcome.ts
Created November 10, 2021 19:18
Deno testing
import 'https://esm.sh/@abraham/reflection@0.8.0'
import {
injectable,
inject,
Container
} from 'https://cdn.skypack.dev/inversify?dts'
import Ajv from 'https://esm.sh/ajv@8.6.1'
const json = JSON.parse(Deno.readTextFileSync('./test.json'))
console.log(json)
@jonnydgreen
jonnydgreen / .zpreztorc
Created June 9, 2019 11:52
ZPrezto description
#
# Sets Prezto options.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# General
#