fix test files

This commit is contained in:
Rohid
2024-08-31 17:51:40 +06:00
parent d7cd69783b
commit fd94e53ac1
6 changed files with 87 additions and 77 deletions

View File

@@ -1,11 +1,8 @@
import chai from 'chai';
import sinon from 'sinon';
const sinon = require('sinon/pkg/sinon.js');
import chrome from 'sinon-chrome';
const expect = chai.expect;
describe('Chrome Dev Tools', function () {
it('should work', function () {
it('should work', async function () {
chrome.browserAction.setTitle({ title: 'hello' });
sinon.assert.calledOnce(chrome.browserAction.setTitle);
});