We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d43045 commit e578a44Copy full SHA for e578a44
test/discourse.test.js
@@ -1,4 +1,4 @@
1
-import DiscourseClient from '../src/discourse.js';
+import Discourse from '../src/discourse.js';
2
import mockForge from 'node-forge';
3
4
let client;
@@ -21,20 +21,20 @@ jest.mock('axios', () => {
21
common: []
22
}
23
24
- }
+ };
25
},
26
defaults: {
27
adapter: undefined,
28
headers: {
29
30
31
32
33
});
34
35
describe('Given an instance of Discourse client', () => {
36
beforeAll(() => {
37
- client = new DiscourseClient({
+ client = new Discourse({
38
appName: 'App name',
39
apiBaseUrl: 'https://example.com',
40
scopes: ['write']
0 commit comments