All examples are taken directly from: ~/programs/electric/packages/typescript-client/test
import { defineConfig } from 'vitest/config'
export default defineConfig({| #!/bin/sh | |
| # This script is for installing the latest version of Turso CLI on your machine. | |
| set -e | |
| # Terminal ANSI escape codes. | |
| reset="\033[0m" | |
| bright_blue="${reset}\033[34;1m" |
| let mapleader = ',' | |
| if empty(glob('~/.vim/autoload/plug.vim')) | |
| silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
| \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
| endif | |
| call plug#begin('~/.config/nvim/plugged') |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| diff --git a/packages/gatsby-recipes/src/gui.js b/packages/gatsby-recipes/src/gui.js | |
| index a7baf92b1..378477678 100644 | |
| --- a/packages/gatsby-recipes/src/gui.js | |
| +++ b/packages/gatsby-recipes/src/gui.js | |
| @@ -26,6 +26,7 @@ const { | |
| defaultExchanges, | |
| subscriptionExchange, | |
| } = require(`urql`) | |
| +const UrqlProvider = Provider | |
| const { SubscriptionClient } = require(`subscriptions-transport-ws`) |
| /Users/kylemathews/programs/recipes-test/node_modules/trough/wrap.js:33 | |
| throw error | |
| ^ | |
| SyntaxError: unknown: Unexpected token (31:2) | |
| 29 | /> | |
| 30 | export const FileTest = () => { | |
| > 31 | const data = useInputByUuid("blog-title") | |
| | ^ |
| // See other presets to try at https://theme-ui.com/packages/presets | |
| import { funk } from '@theme-ui/presets' | |
| export default { | |
| ...funk, | |
| styles: { | |
| ...funk.styles, | |
| }, | |
| } |
| module.exports = { | |
| globals: { | |
| __PATH_PREFIX__: true, | |
| }, | |
| extends: `react-app`, | |
| } |
| describe('My home page', () => { | |
| beforeEach(() => { | |
| cy.visit('/') | |
| }) | |
| /* | |
| * TODO: make this test work | |
| */ | |
| it('contains the text hello gatsby', () => { | |
| expect(cy.getByText('sup')).should('eq', 'Hello Gatsby') |