mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
chore(eslint): bump package & apply eslint fix (#955)
This commit is contained in:
@@ -29,7 +29,7 @@ const fakePluginPath = path.join(__dirname, 'fixtures/cordova-plugin-fake');
|
||||
describe('plugin add', function () {
|
||||
let tmpDir;
|
||||
beforeEach(() => {
|
||||
const tmpDirTemplate = path.join(os.tmpdir(), `cordova-android-test-`);
|
||||
const tmpDirTemplate = path.join(os.tmpdir(), 'cordova-android-test-');
|
||||
tmpDir = fs.realpathSync(fs.mkdtempSync(tmpDirTemplate));
|
||||
});
|
||||
afterEach(() => {
|
||||
|
||||
@@ -80,7 +80,7 @@ describe('AndroidManifest', () => {
|
||||
});
|
||||
|
||||
it('should throw an error if not a valid manifest', () => {
|
||||
createTempManifestFile(`<?xml version='1.0' encoding='utf-8'?><notamanifest></notamanifest>`);
|
||||
createTempManifestFile('<?xml version=\'1.0\' encoding=\'utf-8\'?><notamanifest></notamanifest>');
|
||||
|
||||
expect(() => new AndroidManifest(manifestPath)).toThrowError();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user