8000 prepare migration test · avdim/github-script@f22962c · GitHub
[go: up one dir, main page]

Skip to content

Commit f22962c

Browse files
committed
prepare migration test
1 parent 42e486a commit f22962c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

__test__/migrate.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
22

33
import * as fs from 'fs'
4+
// const migrate = require('npm-migrate')
5+
const moduleName = 'test-package'
6+
const from = 'http://localhost:55551'
7+
const to = 'http://localhost:55552'
48

59
describe('migrate', () => {
610
test('test1', async () => {
11+
// console.log("migrate fun: ", migrate)
12+
// migrate(moduleName, from, to, {debug: false})
713
expect('a').toEqual('a')
814
})
915
})

0 commit comments

Comments
 (0)
0