mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-03 20:18:08 -05:00
18 lines
472 B
JavaScript
18 lines
472 B
JavaScript
/**
|
|
* Tests for the friends list chat plugin. By Mia
|
|
* @author mia-pi-git
|
|
*/
|
|
'use strict';
|
|
|
|
const {FriendsDatabase} = require('../../../server/friends.ts');
|
|
const {Config} = require('../../../server/config-loader.ts');
|
|
const assert = require('../../assert');
|
|
|
|
const test = (Config.usesqlite ? it : it.skip);
|
|
|
|
describe("Friends lists", () => {
|
|
test("Should properly setup database", () => {
|
|
assert.doesNotThrow(() => FriendsDatabase.setupDatabase(':memory:'));
|
|
});
|
|
});
|