@lcap/asl
Version:
NetEase Application Specific Language
17 lines (14 loc) • 467 B
text/typescript
import { expect } from 'chai';
import { App } from '../../../types';
describe('App', () => {
it('load', async () => {
const app = new App({ id: '586d57a8-fafe-47e1-ab0e-1315e22c2e9b' });
await app.load();
expect(app.projectId).to.equal('23');
});
it('loadServices', async () => {
const app = new App({ id: '586d57a8-fafe-47e1-ab0e-1315e22c2e9b' });
await app.load();
await app.loadServices();
});
});