mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-05 08:49:21 +00:00
test: migration from Python to JavaScript
This commit is contained in:
1 parent
c860bf4f58
commit
8d294467ef
2 files changed
+9
-4
No files matched your search
@@ -6,10 +6,15 @@ const path = require('path')
|
||||
const { execSync } = require('child_process')
|
||||
|
||||
describe('sogo-tool tests', function() {
|
||||
let tmpdir
|
||||
let tmpdir, userdir
|
||||
|
||||
beforeAll(function() {
|
||||
const { homedir } = os.userInfo()
|
||||
userdir = homedir
|
||||
})
|
||||
|
||||
beforeEach(function() {
|
||||
tmpdir = mkdtempSync(path.join(os.tmpdir(), 'sogo-'))
|
||||
tmpdir = mkdtempSync(path.join(homedir, 'sogo-'))
|
||||
})
|
||||
|
||||
afterEach(function() {
|
||||
|
||||
Reference in new issue
Block a user