One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| <x-layout> | |
| <x-section> | |
| <x-tabs active="First"> | |
| <x-tab name="First"> | |
| First content goes here. | |
| </x-tab> | |
| <x-tab name="Second"> | |
| Second content goes here. | |
| </x-tab> |
| name: Tests (PHP) | |
| on: [push] | |
| jobs: | |
| tests: | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 |
| import Vue from 'vue' | |
| import BootstrapVue from 'bootstrap-vue' | |
| Vue.use(BootstrapVue) | |
| export function toaster(msg = 'Message', title='Success',position='b-toaster-top-right', append = false){ | |
| return this.$bvToast.toast( msg, { | |
| title: title, | |
| toaster: position, | |
| variant: 'success', | |
| solid: true, | |
| appendToast: append |
| /* | |
| * Handling Errors using async/await | |
| * Has to be used inside an async function | |
| */ | |
| try { | |
| const response = await axios.get('https://your.site/api/v1/bla/ble/bli'); | |
| // Success 🎉 | |
| console.log(response); | |
| } catch (error) { | |
| // Error 😨 |
| // router/index.js | |
| import Vue from 'vue' | |
| import VueRouter from 'vue-router' | |
| import routes from './routes' | |
| import middlewarePipeline from './middleware-pipeline' | |
| Vue.use(VueRouter) |
| {"version":1,"resource":"file:///Users/manuelgeek/React/TheRoom/theroom-monorepo/apps/api/src/test/employer-service/opportunity-payment/__mocks__/stripe.ts","entries":[{"id":"olQy.ts","source":"renamed.source","timestamp":1658214641155},{"id":"QHt3.ts","timestamp":1658214718170}]} |
| dates(){ | |
| var j = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"); | |
| var dateString = "05/14/2019"; // date | |
| var d = new Date(dateString); | |
| var day = j[d.getDay()]; | |
| let gender = 'male' //female | |
| switch(gender) { | |
| case 'male': | |
| if (day === j[0]){ |