diff --git a/Jenkinsfile b/Jenkinsfile index 9848c78f..41613bb0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -193,7 +193,9 @@ def doWindowsBuild() { node('windows && nodejs') { unstash 'source' try { - bat 'npm install --build-from-source=realm' + sshagent(['realm-ci-ssh']) { + bat 'npm install --build-from-source=realm --realm_enable_sync' + } dir('tests') { bat 'npm install' bat 'npm run test' diff --git a/tests/js/index.js b/tests/js/index.js index 4222474a..3800ec9a 100644 --- a/tests/js/index.js +++ b/tests/js/index.js @@ -31,14 +31,10 @@ var TESTS = { ResultsTests: require('./results-tests'), QueryTests: require('./query-tests'), MigrationTests: require('./migration-tests'), + EncryptionTests: require('./encryption-tests'), // GarbageCollectionTests: require('./garbage-collection'), }; -// encryption is not supported on windows -if (!(typeof process === 'object' && process.platform === 'win32')) { - TESTS.EncryptionTests = require('./encryption-tests'); -} - // If sync is enabled, run the sync tests if (global.enableSyncTests) { TESTS.UserTests = require('./user-tests');