Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('Integration', function () {
else fs.unlinkSync(item);
});

fs.rmdirSync(dir, { recursive: true });
fs.rmSync(dir, { recursive: true });
}

function runFileSystemTests(name) {
Expand Down Expand Up @@ -336,7 +336,7 @@ describe('Integration', function () {
it('MKD témp', (done) => {
const path = `${clientDirectory}/${name}/témp`;
if (fs.existsSync(path)) {
fs.rmdirSync(path);
fs.rmSync(path);
}
client.mkdir('témp', (err) => {
expect(err).to.not.exist;
Expand All @@ -348,14 +348,14 @@ describe('Integration', function () {
it('MKD témp multiple levels deep', (done) => {
const path = `${clientDirectory}/${name}/témp`;
if (fs.existsSync(path)) {
fs.rmdirSync(path, {recursive: true});
fs.rmSync(path, {recursive: true});
}

client.mkdir('témp/first/second', (err) => {
expect(err).to.not.exist;
expect(fs.existsSync(path)).to.equal(true);

fs.rmdirSync(path, {recursive: true});
fs.rmSync(path, {recursive: true});
done();
});
});
Expand Down Expand Up @@ -481,7 +481,7 @@ describe('Integration', function () {
]))
.then(([key, cert, ca]) => startServer({
url: 'ftp://127.0.0.1:8881',
tls: {key, cert, ca}
tls: {key, cert, ca, ciphers: "DEFAULT:@SECLEVEL=0",}
}))
.then(() => {
return connectClient({
Expand Down