Files
n8n-nodes-strike/node_modules/@n8n_io/riot-tmpl/test/karma.conf.js
Martien 5605b9b49a Initial commit: n8n Strike API node
- Add Strike API credentials configuration
- Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates)
- Add comprehensive operation descriptions for all resources
- Include CLAUDE.MD documentation
- Set up build configuration with TypeScript, ESLint, and Prettier

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 11:00:38 +01:00

49 lines
1.0 KiB
JavaScript

module.exports = function (config) {
var browsers,
customLaunchers = []
if (process.env.BROWSERSTACK) {
customLaunchers = require('./browsers')
browsers = Object.keys(customLaunchers)
browsers.forEach(function (browser) { customLaunchers[browser].base = 'BrowserStack' })
} else {
browsers = ['PhantomJS']
}
config.set({
basePath: '',
frameworks: ['mocha'],
plugins: [
'karma-mocha',
'karma-coverage',
'karma-browserstack-launcher',
'karma-phantomjs-launcher'
],
files: [
'../node_modules/expect.js/index.js',
'../dist/tmpl.js',
'specs/core.specs.js',
'specs/brackets.specs.js'
],
browsers: browsers,
customLaunchers: customLaunchers,
reporters: ['progress', 'coverage'],
preprocessors: {
'../dist/tmpl.js': ['coverage']
},
coverageReporter: {
dir: '../coverage/',
reporters: [{
type: 'lcov',
subdir: 'report-lcov'
}]
},
singleRun: true
})
}