This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference no-default-lib="true" /> | |
/// <reference lib="dom" /> | |
/// <reference lib="dom.asynciterable" /> | |
/// <reference lib="deno.ns" /> | |
import { assertEquals } from "https://deno.land/std@0.110.0/testing/asserts.ts"; | |
import { buildFor } from "https://deno.land/x/sinco@v3.0.0/mod.ts"; | |
Deno.test("Go to example.com", async () => { | |
const sinco = await buildFor("chrome"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map h goBack | |
map l goForward | |
map H previousTab | |
map L nextTab | |
map i LinkHints.activateMode | |
map I LinkHints.activateModeToOpenInNewTab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const connect = require('connect'); | |
const serveStatic = require('serve-static'); | |
const app = connect(); | |
const port = 3030; | |
app.use(serveStatic('./')); | |
app.listen(port, () => { | |
console.log(`ブラウザでhttp://localhost:${port}にアクセスしてください`); | |
}); |