mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
22 lines
455 B
JavaScript
22 lines
455 B
JavaScript
import test from 'ava'
|
|
|
|
import { isObject, isString } from '../type-checks.js'
|
|
import { getNetlifyConfig } from './caching.js'
|
|
|
|
|
|
test('Can read netlify.toml', async (t) => {
|
|
t.plan(2)
|
|
|
|
const netlifyConfig = await getNetlifyConfig()
|
|
|
|
// t.log('netlifyConfig', netlifyConfig)
|
|
|
|
t.is( isObject( netlifyConfig ) , true )
|
|
t.is( isString( netlifyConfig.build.publish ) , true )
|
|
})
|
|
|
|
// test('Can cache publish folder', async (t) => {
|
|
|
|
|
|
|
|
// })
|