Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
prokawsar committed Jul 28, 2024
1 parent 81773e8 commit ba9966e
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Determine Paper Cost


## Tech Stack

```bash
Expand All @@ -13,6 +12,7 @@
Tools

```bash

```

## After Cloning this project
Expand Down
8 changes: 4 additions & 4 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
plugins: {
tailwindcss: {},
autoprefixer: {}
}
}
2 changes: 1 addition & 1 deletion src/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ declare global {
}
}

export {};
export {}
8 changes: 4 additions & 4 deletions src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, it, expect } from 'vitest';
import { describe, it, expect } from 'vitest'

describe('sum test', () => {
it('adds 1 + 2 to equal 3', () => {
expect(1 + 2).toBe(3);
});
});
expect(1 + 2).toBe(3)
})
})
8 changes: 4 additions & 4 deletions src/lib/utils/tooltip.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import tippy from 'tippy.js';
import 'tippy.js/dist/tippy.css';
import 'tippy.js/animations/scale.css';
import tippy from 'tippy.js'
import 'tippy.js/dist/tippy.css'
import 'tippy.js/animations/scale.css'

tippy('[data-tippy]', {
content: (reference) => reference.getAttribute('data-tippy') || '',
Expand All @@ -9,4 +9,4 @@ tippy('[data-tippy]', {
arrow: true,
delay: 100,
animation: 'scale'
});
})
8 changes: 4 additions & 4 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-vercel';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import adapter from '@sveltejs/adapter-vercel'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'

/** @type {import('@sveltejs/kit').Config} */
const config = {
Expand All @@ -14,6 +14,6 @@ const config = {
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
}
};
}

export default config;
export default config
8 changes: 4 additions & 4 deletions tests/test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect, test } from '@playwright/test';
import { expect, test } from '@playwright/test'

test('index page has expected h1', async ({ page }) => {
await page.goto('/');
await expect(page.getByRole('heading', { name: 'Welcome to SvelteKit' })).toBeVisible();
});
await page.goto('/')
await expect(page.getByRole('heading', { name: 'Welcome to SvelteKit' })).toBeVisible()
})
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export default defineConfig({
include: ['src/**/*.{test,spec}.{js,ts}']
},
server: {
port: 5000
port: 2000
}
})

0 comments on commit ba9966e

Please sign in to comment.