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
| console.log("Hello World"); |
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
| #scripts(hidden) | |
| script(src="//npmcdn.com/axios/dist/axios.min.js") | |
| script(type="module") | |
| | import Vue from '/vue/vue.esm.browser.js' | |
| | const global = window || global; | |
| | global.Vue = Vue; | |
| script(type="module") | |
| | import * as Vuetify from '/vuetify/dist/vuetify.js'; | |
| | const global = window || global; | |
| | global.Vue.use(Vuetify); |
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
| import http2 from "http2"; | |
| import fs from "fs"; | |
| import { promisify } from "util"; | |
| import Koa from "koa"; | |
| import Pug from "koa-pug" | |
| import Router from "koa-router"; | |
| import serve from "koa-static"; | |
| import mount from "koa-mount"; | |
| const PORT = process.env.PORT || "3000"; |
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
| package org.example; | |
| import java.io.File; | |
| import java.util.logging.Logger; | |
| import org.springframework.boot.*; | |
| import org.springframework.boot.autoconfigure.*; | |
| import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; | |
| import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; | |
| @SpringBootApplication | |
| @EnableAutoConfiguration |
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
| mocha --delay --exit ./test/suite.js |
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
| import depcheck from 'depcheck'; | |
| import path from "path"; | |
| const options = { | |
| withoutDev: false, // [DEPRECATED] check against devDependencies | |
| ignoreBinPackage: false, // ignore the packages with bin entry | |
| skipMissing: false, // skip calculation of missing dependencies | |
| ignoreDirs: [ // folder with these names will be ignored | |
| 'dist' | |
| ], |
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
| import 'vue-material/dist/vue-material.css' | |
| import 'vue-material/dist/theme/default-dark.css' | |
| export default { | |
| data:()=>({ | |
| message: "Now it is for real", | |
| title: "Jackie R. Gleason", | |
| menuVisible: false | |
| }), | |
| methods: { | |
| toggleMenu () { |
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
| // Express Node app | |
| app.use('/vue', express.static(__dirname + '/node_modules/vue/dist/vue.esm.browser.js')); | |
| app.use('/vue-router', express.static(__dirname + '/node_modules/vue-router/dist/vue-router.esm.js')); |
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
| import {Other} from "./Other" | |
| export class BasePage{ | |
| constructor(){ | |
| } | |
| } |
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
| import webdriver from "selenium-webdriver"; | |
| const url = process.env.TEST_UI_URL || "http://localhost:9090/"; | |
| const { By } = webdriver; | |
| export class BasePage{ | |
| constructor(driver){ | |
| if(driver) this.driver = driver; | |
| else{ | |
| console.log("Driver is undefined"); | |
| const builder = new webdriver.Builder() | |
| .forBrowser("chrome"); |