We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b31d96 commit a5bb5adCopy full SHA for a5bb5ad
test/unit/mixins/Install.spec.js
@@ -0,0 +1,15 @@
1
+import Vue from 'vue';
2
+import VueRest from '../../../index.js';
3
+
4
+describe('Testing install function', () => {
5
6
+ Vue.use(VueRest, {
7
+ axiosOptions: {
8
+ baseURL: 'http://localhost:8000',
9
+ },
10
+ });
11
12
+ test('Should apply axios settings when axiosOptions is set', () => {
13
+ expect(Vue.api.defaults.baseURL).toBe('http://localhost:8000');
14
15
+});
0 commit comments