FlowBudget MVP: Chrome extension with SKU-level parsing, sinking funds, seasonal baselines, lifestyle creep heatmap, net worth dashboard
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { execSync } from 'child_process'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { dirname, join } from 'path'
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url))
|
||||
const root = dirname(__dirname)
|
||||
|
||||
try {
|
||||
execSync('npx tsc -p tsconfig.tests.json', { cwd: root, stdio: 'inherit' })
|
||||
} catch (e) {
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
try {
|
||||
execSync('node --test dist-tests/tests/budget.test.js', { cwd: root, stdio: 'inherit' })
|
||||
} catch (e) {
|
||||
process.exit(1)
|
||||
}
|
||||
Reference in New Issue
Block a user