Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame contribute delete
482 Bytes
import { expect } from 'chai'
import Router from './router.js'
describe('Router', function () {
it('has both assets and routes', function () {
expect(Router.assets).not.to.be.undefined
expect(Router.routes).not.to.be.undefined
})
it('returns development bundle by default', function () {
const asset = Router.assets.find((a) => a.path === '/frontend/assets/app.bundle.js')
expect(asset && asset.src).to.contain('scripts/app-bundle.development.js')
})
})