blob: eab62b2796d3a93b83bd9f7fd4457370fd2a9218 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package com.pitchedapps.frost.injectors
import java.io.File
import kotlin.test.Test
import kotlin.test.assertTrue
class JsAssetsTest {
@Test
fun verifyAssetsExist() {
JsAssets.values().forEach { asset ->
val file = File("src/web/assets/js/${asset.file}").absoluteFile
assertTrue(file.exists(), "${asset.name} not found at ${file.path}")
}
}
}
|