This repository was archived by the owner on Oct 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ async function createAndLoadRepo () {
23
23
const store = new Datastore ( dir , { extension : '' , createIfMissing : true } )
24
24
await store . open ( )
25
25
26
- await store . put ( VERSION_KEY , Buffer . from ( loadFixture ( 'test/test-repo/version' ) ) )
27
- await store . put ( CONFIG_KEY , Buffer . from ( loadFixture ( 'test/test-repo/config' ) ) )
26
+ await store . put ( VERSION_KEY , Buffer . from ( loadFixture ( 'test/fixtures/ test-repo/version' ) ) )
27
+ await store . put ( CONFIG_KEY , Buffer . from ( loadFixture ( 'test/fixtures/ test-repo/config' ) ) )
28
28
29
29
return dir
30
30
}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const path = require('path')
8
8
const fs = require ( 'fs' )
9
9
10
10
async function createRepo ( ) {
11
- const testRepoPath = path . join ( __dirname , 'test-repo' )
11
+ const testRepoPath = path . join ( __dirname , 'fixtures' , ' test-repo')
12
12
const date = Date . now ( ) . toString ( )
13
13
const dir = testRepoPath + '-for-' + date
14
14
fs . mkdirSync ( dir )
@@ -18,7 +18,7 @@ async function createRepo () {
18
18
19
19
async function createAndLoadRepo ( ) {
20
20
const dir = await createRepo ( )
21
- const testRepoPath = path . join ( __dirname , 'test-repo' )
21
+ const testRepoPath = path . join ( __dirname , 'fixtures' , ' test-repo')
22
22
23
23
await asyncNcp ( testRepoPath , dir )
24
24
return dir
You can’t perform that action at this time.
0 commit comments