mirror of
https://github.com/DeNNiiInc/Connect-5.git
synced 2026-04-18 13:55:59 +00:00
Add complete multiplayer system with real-time gameplay, challenge system, and 50x50 board option
This commit is contained in:
12
node_modules/bad-words/test/replaceWord.js
generated
vendored
Normal file
12
node_modules/bad-words/test/replaceWord.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
require('assert');
|
||||
var Filter = require('../lib/badwords.js'),
|
||||
filter = new Filter(),
|
||||
assert = require('better-assert');
|
||||
|
||||
describe('filter', function(){
|
||||
describe('replaceWord',function(){
|
||||
it("Should replace a bad word with asterisks (******)",function(){
|
||||
assert(filter.replaceWord("ash0le") == '******');
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user