Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Commit 52bdfe7

Browse files
committed
Move modules to utils folder
1 parent e46fd2c commit 52bdfe7

File tree

9 files changed

+5
-5
lines changed

9 files changed

+5
-5
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'fetch-everywhere';
22

3-
import request from './request';
3+
import request from './utils/request';
44

55
function get(url, req) {
66
return request('GET', url, req);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/test.check.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'ava'
2-
import check from '../src/check'
2+
import check from '../src/utils/check'
33

44
test('method: check', t => {
55
const resp = {

tests/test.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'ava'
2-
import createConfig from '../src/config'
2+
import createConfig from '../src/utils/config'
33

44
test('method: createConfig', t => {
55
const conf = {

tests/test.params.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'ava'
2-
import transformParams from '../src/params'
2+
import transformParams from '../src/utils/params'
33

44
test('method: transform', t => {
55
const obj = {

tests/test.request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'ava'
2-
import request from '../src/request'
2+
import request from '../src/utils/request'
33

44
test('method: request', t => {
55
t.is(typeof request, 'function', 'is defined and is a function')

0 commit comments

Comments
 (0)