blob: 900aa32c8a158b3a67ac87db0ae8e19b78d7b0a0 [file] [log] [blame]
'use strict';
const common = require('./common');
module.exports = common.runTest(test);
async function test () {
await common.runTestInChildProcess({
suite: 'addon_data',
testName: 'workingCode'
});
await common.runTestInChildProcess({
suite: 'addon_data',
testName: 'cleanupWithoutHint',
expectedStderr: ['addon_data: Addon::~Addon']
});
await common.runTestInChildProcess({
suite: 'addon_data',
testName: 'cleanupWithHint',
expectedStderr: ['addon_data: Addon::~Addon', 'hint: 42']
});
}