mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 14:43:10 +00:00
19 lines
483 B
JavaScript
19 lines
483 B
JavaScript
const assert = require('assert')
|
|
const main = require('./main')
|
|
|
|
describe('methods in server.js', () => {
|
|
it('has serveNcmApi', () => {
|
|
assert.strictEqual(typeof main.serveNcmApi, 'function')
|
|
})
|
|
|
|
it('has getModulesDefinitions', () => {
|
|
assert.strictEqual(typeof main.getModulesDefinitions, 'function')
|
|
})
|
|
})
|
|
|
|
describe('methods in module', () => {
|
|
it('has activate_init_profile', () => {
|
|
assert.strictEqual(typeof main.activate_init_profile, 'function')
|
|
})
|
|
})
|