Skip to content

Commit 8781dee

Browse files
committed
Reorganize test suite layout, grouping unit tests under tests/unit
1 parent dbbcfbc commit 8781dee

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,4 +290,3 @@ All commands are run from the root of the project, from a terminal:
290290
- Migrated clientside search engine from Lunr to Pagefind, resulting in 99% faster indexing and lightweight search loads
291291
- Added live dynamic search-as-you-type with debounced fetching via Pagefind's JS API
292292
- Completely uninstalled and removed Alpine.js from the project, replacing all toggle components (header mobile navigation, theme selector dropdown, search slide-over) with native Vanilla JavaScript
293-
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, it, expect, vi } from 'vitest'
22
import axios from 'axios'
3-
import { escapeHtml, satteriDiagram } from './satteri-diagram.mjs'
3+
import { escapeHtml, satteriDiagram } from '../../satteri-plugins/satteri-diagram.mjs'
44

55
vi.mock('axios')
66

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, it, expect, vi } from 'vitest'
2-
import { satteriEmoji } from './satteri-emoji.mjs'
2+
import { satteriEmoji } from '../../satteri-plugins/satteri-emoji.mjs'
33

44
describe('satteri-emoji utility tests', () => {
55
it('initializes correctly', () => {

satteri-plugins/satteri-reading-time.test.js renamed to tests/unit/satteri-reading-time.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, it, expect } from 'vitest'
2-
import { satteriReadingTime } from './satteri-reading-time.mjs'
2+
import { satteriReadingTime } from '../../satteri-plugins/satteri-reading-time.mjs'
33

44
describe('satteri-reading-time utility tests', () => {
55
it('initializes and calculates reading time correctly', () => {

0 commit comments

Comments
 (0)